Fix unused parameter warning

This commit is contained in:
Daniel James
2017-04-19 09:20:31 +01:00
parent 3ae9930979
commit cee94e9fcb

View File

@ -1492,8 +1492,7 @@ construct_from_args(Alloc& alloc, std::pair<A, B>* address, BOOST_FWD_REF(A0),
// Construct from variadic parameters
template <typename Alloc, typename T, typename... Args>
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>(args)...);
}