Skip to content
Bitcoin Roots

v29.4-roots.3 · Commit 2: [PATCH 02/30] runtime: preserve shared operator controls

src/util/hasher.h

Before: src/util/hasher.h · After: src/util/hasher.h

File metadata
index e4594c7ddaf8bb8dc9221a3fc307bcfb64042b24..d54d82d53af6faf67886b22991d8ed109ea36a6a 100644

Download original patch · Release notes

Diff rows 1–9 of 9. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.

src/util/hasher.h CHANGED
@@ -46,7 +46,8 @@ public:
46
46
  *
47
47
  * @see https://gcc.gnu.org/onlinedocs/gcc-13.2.0/libstdc++/manual/manual/unordered_associative.html
48
48
  */
49
- size_t operator()(const COutPoint& id) const noexcept {
49
+ size_t operator()(const COutPoint& id) const noexcept(false)
50
+ {
50
51
  return SipHashUint256Extra(k0, k1, id.hash, id.n);
51
52
  }
52
53
  };