diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-12-06 15:35:13 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-12-06 15:37:57 +0100 |
commit | 127b30cce8af6acef6fb1dafff2e6a1d90bf900f (patch) | |
tree | 30349f47b2784a5cec8af86a6f280e808a6e6f22 /src/leveldb | |
parent | 1858e6f2f20f8249433a2f56f2972a842309053b (diff) | |
parent | cf4b0327ed92ca8a1533cdf6c2b0015fd9b56397 (diff) |
Merge #14838: Use const in COutPoint class
cf4b0327ed92ca8a1533cdf6c2b0015fd9b56397 Use std::numeric_limits<UNSIGNED>::max()) instead of (UNSIGNED)-1 (practicalswift)
6b82fc59eb19004e54f910261a40d5e1b9e44b42 Use const in COutPoint class (Hennadii Stepanov)
Pull request description:
Refactoring:
- all cases of using `(uint32_t) -1` in `COutPoint` class are replaced with const;
- also all remaining instances of `(UNSIGNED)-1` transformed to `std::numeric_limits<UNSIGNED>::max()` (by @practicalswift).
Tree-SHA512: fc7fe9838b6e5136d8b97ea3d6f64c4aaa1215f4369832df432cab017396620bb6e30520a64180ceab6de222562ac11eab243a78dfa5a658ba018835a34caa19
Diffstat (limited to 'src/leveldb')
0 files changed, 0 insertions, 0 deletions