Skip to content

Commit

Permalink
Merge bitcoin/bitcoin#30268: util: add missing VecDeque include
Browse files Browse the repository at this point in the history
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
  • Loading branch information
glozow committed Jun 12, 2024
2 parents 5ee6b76 + f51da34 commit aa6b876
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util/vecdeque.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

#include <cstring>
#include <memory>
#include <type_traits>

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

0 comments on commit aa6b876

Please sign in to comment.