From cee94e9fcb957cf5d7557242027d39a5104c7265 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Wed, 19 Apr 2017 09:20:31 +0100 Subject: [PATCH] Fix unused parameter warning --- include/boost/unordered/detail/implementation.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/boost/unordered/detail/implementation.hpp b/include/boost/unordered/detail/implementation.hpp index 95502fe0..0d2e4a1b 100644 --- a/include/boost/unordered/detail/implementation.hpp +++ b/include/boost/unordered/detail/implementation.hpp @@ -1492,8 +1492,7 @@ construct_from_args(Alloc& alloc, std::pair* address, BOOST_FWD_REF(A0), // Construct from variadic parameters template -inline void construct_from_args( - Alloc& alloc, T* address, BOOST_FWD_REF(Args)... args) +inline void construct_from_args(Alloc&, T* address, BOOST_FWD_REF(Args)... args) { new ((void*)address) T(boost::forward(args)...); }