diff options
Diffstat (limited to 'boost/container/uses_allocator_fwd.hpp')
-rw-r--r-- | boost/container/uses_allocator_fwd.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/container/uses_allocator_fwd.hpp b/boost/container/uses_allocator_fwd.hpp index d8fe67fbfe..42a5b904f0 100644 --- a/boost/container/uses_allocator_fwd.hpp +++ b/boost/container/uses_allocator_fwd.hpp @@ -30,8 +30,8 @@ namespace container { static ::std::allocator_arg_t *dummy; }; - template <int Dummy> - ::std::allocator_arg_t *std_allocator_arg_holder<Dummy>::dummy; + template <int Dummy> //Silence null-reference compiler warnings + ::std::allocator_arg_t *std_allocator_arg_holder<Dummy>::dummy = reinterpret_cast< ::std::allocator_arg_t * >(0x1234); typedef const std::allocator_arg_t & allocator_arg_t; |