Skip to content
Snippets Groups Projects
Unverified Commit 37f52855 authored by thorstenhater's avatar thorstenhater Committed by GitHub
Browse files

Update allocator implementations to C++17 standard (#1265)

parent ce945f20
No related branches found
No related tags found
No related merge requests found
......@@ -184,7 +184,7 @@ public:
return &r;
}
pointer allocate(size_type cnt, typename std::allocator<void>::const_pointer = 0) {
pointer allocate(size_type cnt) {
if (cnt) {
return reinterpret_cast<T*>(allocate_policy(cnt*sizeof(T)));
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment