diff options
Diffstat (limited to 'boost/smart_ptr/allocate_shared_array.hpp')
-rw-r--r-- | boost/smart_ptr/allocate_shared_array.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/boost/smart_ptr/allocate_shared_array.hpp b/boost/smart_ptr/allocate_shared_array.hpp index 53023e7182..340688146c 100644 --- a/boost/smart_ptr/allocate_shared_array.hpp +++ b/boost/smart_ptr/allocate_shared_array.hpp @@ -353,9 +353,9 @@ public: typedef A type; template<class U> - sp_array_state(const U& allocator, std::size_t size) BOOST_SP_NOEXCEPT - : allocator_(allocator), - size_(size) { } + sp_array_state(const U& _allocator, std::size_t _size) BOOST_SP_NOEXCEPT + : allocator_(_allocator), + size_(_size) { } A& allocator() BOOST_SP_NOEXCEPT { return allocator_; @@ -376,8 +376,8 @@ public: typedef A type; template<class U> - sp_size_array_state(const U& allocator, std::size_t) BOOST_SP_NOEXCEPT - : allocator_(allocator) { } + sp_size_array_state(const U& _allocator, std::size_t) BOOST_SP_NOEXCEPT + : allocator_(_allocator) { } A& allocator() BOOST_SP_NOEXCEPT { return allocator_; |