From e1f170cd494d2e7ce5e6e7d3f0fe016aceb88048 Mon Sep 17 00:00:00 2001 From: Glen Fernandes Date: Thu, 6 Feb 2014 17:09:27 -0800 Subject: [PATCH] Drop variadic templates in unit test for VC11 --- test/allocate_shared_array_construct_test.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/allocate_shared_array_construct_test.cpp b/test/allocate_shared_array_construct_test.cpp index 66acd0d..ee1c812 100644 --- a/test/allocate_shared_array_construct_test.cpp +++ b/test/allocate_shared_array_construct_test.cpp @@ -39,10 +39,10 @@ public: ::operator delete(p1); } - template - void construct(U* memory, Args&&... args) { + template + void construct(U* memory) { void* p1 = memory; - ::new(p1) U(std::forward(args)...); + ::new(p1) U(); } template