Skip to content

Commit aa6b876

Browse files
committed
Merge bitcoin/bitcoin#30268: util: add missing VecDeque include
f51da34 utils: add missing include (Cory Fields) Pull request description: Noticed when testing `VecDeque` with no other includes. For libc++, need type_traits for `std::is_trivially_destructible_v`. ACKs for top commit: maflcko: ACK f51da34 glozow: ACK f51da34 sipa: utACK f51da34 Tree-SHA512: bf96910abe9aaddd8586e6cc8f68a9bbac4c26d976ebeebcfa86b86c0da5783c1cbdbc7fa09b62cdcfde19e6442eb65a66bf1e2e80408d68e9dd9689dc22b0fa
2 parents 5ee6b76 + f51da34 commit aa6b876

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/util/vecdeque.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
#include <cstring>
1111
#include <memory>
12+
#include <type_traits>
1213

1314
/** Data structure largely mimicking std::deque, but using single preallocated ring buffer.
1415
*

0 commit comments

Comments
 (0)