diff options
Diffstat (limited to 'include/yacppdic/detail/internal/alloc_destructor.hpp')
-rw-r--r-- | include/yacppdic/detail/internal/alloc_destructor.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/yacppdic/detail/internal/alloc_destructor.hpp b/include/yacppdic/detail/internal/alloc_destructor.hpp index 9160b8b..5462fa5 100644 --- a/include/yacppdic/detail/internal/alloc_destructor.hpp +++ b/include/yacppdic/detail/internal/alloc_destructor.hpp @@ -14,11 +14,12 @@ struct RebindAllocHelper template <class Allocator> class AllocDestructor { - using _alloc_traits = std::allocator_traits<Allocator>; +private: + using AllocTraits = std::allocator_traits<Allocator>; public: - using Pointer = typename _alloc_traits::pointer; - using Size = typename _alloc_traits::size_type; + using Pointer = typename AllocTraits::pointer; + using Size = typename AllocTraits::size_type; using pointer = Pointer; using size = Size; |