Fix inheritance access modifier for allocator derived types
This commit is contained in:
parent
a10c12c1cf
commit
55c908686f
@ -62,7 +62,7 @@ namespace rexy{
|
||||
|
||||
};
|
||||
template<class Allocator>
|
||||
class basic_binary : private detail::hasallocator<Allocator>, public binary_base
|
||||
class basic_binary : protected detail::hasallocator<Allocator>, public binary_base
|
||||
{
|
||||
public:
|
||||
using allocator_type = Allocator;
|
||||
|
||||
@ -78,7 +78,7 @@ namespace rexy{
|
||||
|
||||
//Supplies all functions that string_base can't implement
|
||||
template<class Allocator>
|
||||
class basic_string : private detail::hasallocator<Allocator>, public string_base
|
||||
class basic_string : protected detail::hasallocator<Allocator>, public string_base
|
||||
{
|
||||
public:
|
||||
using allocator_type = Allocator;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user