diff options
| author | Wladimir J. van der Laan <[email protected]> | 2018-04-19 14:24:26 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2018-04-19 14:58:09 +0200 |
| commit | c19986940869034cb15e684f014f48fe00e75778 (patch) | |
| tree | 75790fad14c15e15b97ff75ae52613656e76f42f /src/script/script_error.cpp | |
| parent | Merge #13025: Dead code removal (diff) | |
| parent | net: Minor accumulated cleanups (diff) | |
| download | discoin-c19986940869034cb15e684f014f48fe00e75778.tar.xz discoin-c19986940869034cb15e684f014f48fe00e75778.zip | |
Merge #12855: net: Minor accumulated cleanups
2c084a6 net: Minor accumulated cleanups (Thomas Snider)
Pull request description:
From now-derelict larger changes I had been working on, here are a series of DRY refactors/cleanups. Net loss of 35 lines of code - a small step in the good fight.
In particular I think operator!= should only ever be implemented as a negation of operator==. Lower chance for errors, and removes the possibility of divergent behavior.
Tree-SHA512: 58bf4b542a4e8e5bc465b508aaa16e9ab51448c3f9bee52cd9db0a64a5c6c5a13e4b4286d0a5aa864934fc58064799f6a88a40a87154fd3a4bd731a72e254393
Diffstat (limited to 'src/script/script_error.cpp')
0 files changed, 0 insertions, 0 deletions