Merge #14838: Use const in COutPoint class

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

情報元 - Merge #14838: Use const in COutPoint class · bitcoin/[email protected] · GitHub

Merge #14838: Use const in COutPoint class · bitcoin/bitcoin@127b30c · GitHub
スポンサーリンク

シェアする

フォローする

スポンサーリンク

トップへ戻る