Skip to content

Commit

Permalink
std.uni: Make auto ref adjacent
Browse files Browse the repository at this point in the history
  • Loading branch information
dkorpel committed Aug 14, 2024
1 parent f11b19d commit 2a32597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/uni/package.d
Original file line number Diff line number Diff line change
Expand Up @@ -3349,7 +3349,7 @@ struct CowArray(SP=GcPolicy)
data[$-val.length-1 .. $-1] = val[];
}

bool opEquals()(auto const ref CowArray rhs)const
bool opEquals()(const auto ref CowArray rhs)const
{
if (empty ^ rhs.empty)
return false; // one is empty and the other isn't
Expand Down

0 comments on commit 2a32597

Please sign in to comment.