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/node/txorphanage.cpp.orig 2026-04-15 20:55:24.000000000 +0000 +++ src/node/txorphanage.cpp @@@@ -91,12 +91,13 @@@@ class TxOrphanageImpl final : public TxO } }; - struct OrphanIndices final : boost::multi_index::indexed_by< - boost::multi_index::ordered_unique, WtxidExtractor>, - boost::multi_index::ordered_unique, ByPeerViewExtractor> - >{}; - - using AnnouncementMap = boost::multi_index::multi_index_container; + using AnnouncementMap = boost::multi_index::multi_index_container< + Announcement, + boost::multi_index::indexed_by< + boost::multi_index::ordered_unique, WtxidExtractor>, + boost::multi_index::ordered_unique, ByPeerViewExtractor> + > + >; template using Iter = typename AnnouncementMap::index::type::iterator; AnnouncementMap m_orphans; @