diff --git a/include/rexy/binary_base.hpp b/include/rexy/binary_base.hpp index 840bfdc..669462f 100644 --- a/include/rexy/binary_base.hpp +++ b/include/rexy/binary_base.hpp @@ -62,7 +62,7 @@ namespace rexy{ }; template - class basic_binary : private detail::hasallocator, public binary_base + class basic_binary : protected detail::hasallocator, public binary_base { public: using allocator_type = Allocator; diff --git a/include/rexy/string_base.hpp b/include/rexy/string_base.hpp index 1832c26..31ebabc 100644 --- a/include/rexy/string_base.hpp +++ b/include/rexy/string_base.hpp @@ -78,7 +78,7 @@ namespace rexy{ //Supplies all functions that string_base can't implement template - class basic_string : private detail::hasallocator, public string_base + class basic_string : protected detail::hasallocator, public string_base { public: using allocator_type = Allocator;