[arith_uint256] Avoid unnecessary this-copy using prefix operator

This commit is contained in:
Karl-Johan Alm 2018-02-28 19:59:19 +09:00
parent bf3353de90
commit 22b4aae028
No known key found for this signature in database
GPG Key ID: 57AF762DB3353322

View File

@ -85,7 +85,7 @@ public:
base_uint ret; base_uint ret;
for (int i = 0; i < WIDTH; i++) for (int i = 0; i < WIDTH; i++)
ret.pn[i] = ~pn[i]; ret.pn[i] = ~pn[i];
ret++; ++ret;
return ret; return ret;
} }