aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2024-06-11 16:26:17 +0000
committerCory Fields <cory-nospam-@coryfields.com>2024-06-11 16:28:11 +0000
commitf51da34ec1a806d321a468691fa66082eef10ad9 (patch)
treedb1ec9e99fefba0f8b4369b7d276f18a372960b6
parent337f9d44c28b1d3563a0063a8805b418d506698d (diff)
downloadbitcoin-f51da34ec1a806d321a468691fa66082eef10ad9.tar.xz
utils: add missing include
Noticed when testing VecDeque with no other includes. For libc++, need type_traits for std::is_trivially_destructible_v.
-rw-r--r--src/util/vecdeque.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/vecdeque.h b/src/util/vecdeque.h
index b5e7278473..a9264a5ad6 100644
--- a/src/util/vecdeque.h
+++ b/src/util/vecdeque.h
@@ -9,6 +9,7 @@
#include <cstring>
#include <memory>
+#include <type_traits>
/** Data structure largely mimicking std::deque, but using single preallocated ring buffer.
*