diff options
| author | Karl-Johan Alm <[email protected]> | 2018-02-28 19:59:19 +0900 |
|---|---|---|
| committer | Karl-Johan Alm <[email protected]> | 2018-02-28 19:59:19 +0900 |
| commit | 22b4aae0284511e9a6a957197dae237a1799aa20 (patch) | |
| tree | 999ddb89909306ec02a16d4e33975d6ec112297b | |
| parent | Merge #12287: Optimise lock behaviour for GuessVerificationProgress() (diff) | |
| download | discoin-22b4aae0284511e9a6a957197dae237a1799aa20.tar.xz discoin-22b4aae0284511e9a6a957197dae237a1799aa20.zip | |
[arith_uint256] Avoid unnecessary this-copy using prefix operator
| -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 dc2627592..3f4cc8c2b 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; } |