summaryrefslogtreecommitdiffstats
path: root/libcxx/test/support/allocators.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/support/allocators.h')
-rw-r--r--libcxx/test/support/allocators.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/support/allocators.h b/libcxx/test/support/allocators.h
index 7c2103ff272..4aa467f824a 100644
--- a/libcxx/test/support/allocators.h
+++ b/libcxx/test/support/allocators.h
@@ -101,7 +101,7 @@ public:
A2& operator=(const A2& a) TEST_NOEXCEPT { id_ = a.id(); copy_called = true; return *this;}
A2& operator=(A2&& a) TEST_NOEXCEPT { id_ = a.id(); move_called = true; return *this;}
- T* allocate(std::size_t n, const void* hint)
+ T* allocate(std::size_t, const void* hint)
{
allocate_called = true;
return (T*)hint;
OpenPOWER on IntegriCloud