Usermode/libc++ - ::std::list allocator and insert, <new> header
[tpg/acess2.git] / Usermode / Libraries / libc++.so_src / include_exp / allocator
index 943dc0f..656507f 100644 (file)
@@ -8,6 +8,7 @@
 #ifndef _LIBCXX_ALLOCATOR_
 #define _LIBCXX_ALLOCATOR_
 
+#include "new"
 #include "cstddef"
 
 namespace std {
@@ -57,7 +58,7 @@ public:
                return ((size_type)-1) / sizeof(value_type);
        }
        void construct( pointer p, const_reference val ) {
-               ::new ((void*)p) value_type (val);
+               new ((void*)p) value_type (val);
        }
        // C++11
        //template<class U, class... Args>

UCC git Repository :: git.ucc.asn.au