Skip to content
Snippets Groups Projects
Commit 25e5092d authored by Olli Lupton's avatar Olli Lupton
Browse files

Explicitly specify boost::container::small_vector default allocator to sidestep cling error.

parent a9a688fa
No related branches found
No related tags found
1 merge request!2270Custom allocator/memory pool in HLT1
Pipeline #1393061 passed
...@@ -66,7 +66,7 @@ namespace LHCb::Arena { ...@@ -66,7 +66,7 @@ namespace LHCb::Arena {
std::byte* m_current_end{nullptr}; std::byte* m_current_end{nullptr};
/// All memory blocks owned by this arena. /// All memory blocks owned by this arena.
boost::container::small_vector<gsl::span<std::byte>, 1> m_all_blocks; boost::container::small_vector<gsl::span<std::byte>, 1, void> m_all_blocks;
/// Approximate factor by which each block is larger than its predecessor. /// Approximate factor by which each block is larger than its predecessor.
static constexpr std::size_t growth_factor = 2; static constexpr std::size_t growth_factor = 2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment