Skip to content

Commit

Permalink
Make mpz use cow
Browse files Browse the repository at this point in the history
  • Loading branch information
nordlow committed May 31, 2022
1 parent af42e26 commit badc58f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gmp/z.d
Original file line number Diff line number Diff line change
Expand Up @@ -1517,7 +1517,7 @@ version(benchmark)
pure nothrow:

/** Instantiator for `MpZ`. */
_Z!(cow) mpz(bool cow = false, Args...)(Args args) @safe
_Z!(cow) mpz(bool cow = true, Args...)(Args args) @safe
{
version(LDC) pragma(inline, true);
return typeof(return)(args);
Expand Down

0 comments on commit badc58f

Please sign in to comment.