mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-10-28 14:21:39 +01:00
The hint parameter of allocate has been removed in C++20
This commit is contained in:
@@ -52,7 +52,7 @@ public:
|
||||
|
||||
void * operator new(std::size_t)
|
||||
{
|
||||
return std::allocator<X>().allocate(1, static_cast<X*>(0));
|
||||
return std::allocator<X>().allocate(1);
|
||||
}
|
||||
|
||||
void operator delete(void * p)
|
||||
|
||||
Reference in New Issue
Block a user