Skip to content

Commit

Permalink
Revert "build: work around issue with Boost <= 1.80 and Clang >= 18"
Browse files Browse the repository at this point in the history
This reverts commit cd062d6.
  • Loading branch information
MarcoFalke committed Sep 6, 2024
1 parent bbf95c0 commit fa3ecdf
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/txmempool.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,7 @@
#include <util/result.h>
#include <util/feefrac.h>

// This works around a bug in Boost <= 1.80.0 when using Clang >=18.
// See https://github.com/bitcoin/bitcoin/issues/30751.
#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wenum-constexpr-conversion"
#endif
#include <boost/multi_index/hashed_index.hpp>
#if defined(__clang__)
#pragma clang diagnostic pop
#endif

#include <boost/multi_index/identity.hpp>
#include <boost/multi_index/indexed_by.hpp>
#include <boost/multi_index/ordered_index.hpp>
Expand Down

0 comments on commit fa3ecdf

Please sign in to comment.