diff --git a/toolbox/io/Buffer.hpp b/toolbox/io/Buffer.hpp index b4d68acd..6ee87379 100644 --- a/toolbox/io/Buffer.hpp +++ b/toolbox/io/Buffer.hpp @@ -20,6 +20,7 @@ #include #include +#include namespace toolbox { inline namespace io { @@ -108,7 +109,7 @@ class TOOLBOX_API Buffer { std::size_t available() const noexcept { return buf_.size() - wpos_; } std::size_t rpos_{}, wpos_{}; - std::vector buf_; + boost::container::vector buf_; }; TOOLBOX_API ConstBuffer advance(ConstBuffer buf, std::size_t n) noexcept;