diff --git a/include/boost/container/uses_allocator_fwd.hpp b/include/boost/container/uses_allocator_fwd.hpp index d8fe67f..42a5b90 100644 --- a/include/boost/container/uses_allocator_fwd.hpp +++ b/include/boost/container/uses_allocator_fwd.hpp @@ -30,8 +30,8 @@ namespace container { static ::std::allocator_arg_t *dummy; }; - template - ::std::allocator_arg_t *std_allocator_arg_holder::dummy; + template //Silence null-reference compiler warnings + ::std::allocator_arg_t *std_allocator_arg_holder::dummy = reinterpret_cast< ::std::allocator_arg_t * >(0x1234); typedef const std::allocator_arg_t & allocator_arg_t;