From 37f52855a5fef5a24a582615ab397f1253f369b1 Mon Sep 17 00:00:00 2001 From: thorstenhater <24411438+thorstenhater@users.noreply.github.com> Date: Fri, 11 Dec 2020 16:14:31 +0100 Subject: [PATCH] Update allocator implementations to C++17 standard (#1265) --- arbor/memory/allocator.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arbor/memory/allocator.hpp b/arbor/memory/allocator.hpp index 406e9604..26ca109c 100644 --- a/arbor/memory/allocator.hpp +++ b/arbor/memory/allocator.hpp @@ -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))); } -- GitLab