head 1.1; access; symbols; locks; strict; comment @// @; 1.1 date 2026.05.15.09.32.41; author adam; state Exp; branches; next ; commitid tpCKPuAGAKDCoTFG; desc @@ 1.1 log @bitcoin: updated to 31.0 31.0 https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-31.0.md @ text @$NetBSD$ Fix compilation failure with boost >= 1.91 https://github.com/bitcoin/bitcoin/pull/35175 --- src/txrequest.cpp.orig 2026-04-15 20:55:24.000000000 +0000 +++ src/txrequest.cpp @@@@ -208,17 +208,15 @@@@ struct ByTimeViewExtractor } }; -struct Announcement_Indices final : boost::multi_index::indexed_by< - boost::multi_index::ordered_unique, ByPeerViewExtractor>, - boost::multi_index::ordered_non_unique, ByTxHashViewExtractor>, - boost::multi_index::ordered_non_unique, ByTimeViewExtractor> -> -{}; /** Data type for the main data structure (Announcement objects with ByPeer/ByTxHash/ByTime indexes). */ using Index = boost::multi_index_container< Announcement, - Announcement_Indices + boost::multi_index::indexed_by< + boost::multi_index::ordered_unique, ByPeerViewExtractor>, + boost::multi_index::ordered_non_unique, ByTxHashViewExtractor>, + boost::multi_index::ordered_non_unique, ByTimeViewExtractor> + > >; /** Helper type to simplify syntax of iterator types. */ @