diff options
author | Karl-Johan Alm <karljohan-alm@garage.co.jp> | 2018-02-28 19:59:19 +0900 |
---|---|---|
committer | Karl-Johan Alm <karljohan-alm@garage.co.jp> | 2018-02-28 19:59:19 +0900 |
commit | 22b4aae0284511e9a6a957197dae237a1799aa20 (patch) | |
tree | 999ddb89909306ec02a16d4e33975d6ec112297b /src/arith_uint256.h | |
parent | bf3353de90598f08a68d966c50b57ceaeb5b5d96 (diff) |
[arith_uint256] Avoid unnecessary this-copy using prefix operator
Diffstat (limited to 'src/arith_uint256.h')
-rw-r--r-- | src/arith_uint256.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arith_uint256.h b/src/arith_uint256.h index dc2627592e..3f4cc8c2bf 100644 --- a/src/arith_uint256.h +++ b/src/arith_uint256.h @@ -85,7 +85,7 @@ public: base_uint ret; for (int i = 0; i < WIDTH; i++) ret.pn[i] = ~pn[i]; - ret++; + ++ret; return ret; } |