Remove unused parameters in C++03

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@291986 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2017-01-14 01:33:53 +00:00
parent 5ed767588b
commit bfcceeeadf

View File

@@ -1542,26 +1542,26 @@ struct _LIBCPP_TEMPLATE_VIS allocator_traits
#else // _LIBCPP_HAS_NO_VARIADICS #else // _LIBCPP_HAS_NO_VARIADICS
template <class _Tp> template <class _Tp>
_LIBCPP_INLINE_VISIBILITY _LIBCPP_INLINE_VISIBILITY
static void construct(allocator_type& __a, _Tp* __p) static void construct(allocator_type&, _Tp* __p)
{ {
::new ((void*)__p) _Tp(); ::new ((void*)__p) _Tp();
} }
template <class _Tp, class _A0> template <class _Tp, class _A0>
_LIBCPP_INLINE_VISIBILITY _LIBCPP_INLINE_VISIBILITY
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0) static void construct(allocator_type&, _Tp* __p, const _A0& __a0)
{ {
::new ((void*)__p) _Tp(__a0); ::new ((void*)__p) _Tp(__a0);
} }
template <class _Tp, class _A0, class _A1> template <class _Tp, class _A0, class _A1>
_LIBCPP_INLINE_VISIBILITY _LIBCPP_INLINE_VISIBILITY
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0, static void construct(allocator_type&, _Tp* __p, const _A0& __a0,
const _A1& __a1) const _A1& __a1)
{ {
::new ((void*)__p) _Tp(__a0, __a1); ::new ((void*)__p) _Tp(__a0, __a1);
} }
template <class _Tp, class _A0, class _A1, class _A2> template <class _Tp, class _A0, class _A1, class _A2>
_LIBCPP_INLINE_VISIBILITY _LIBCPP_INLINE_VISIBILITY
static void construct(allocator_type& __a, _Tp* __p, const _A0& __a0, static void construct(allocator_type&, _Tp* __p, const _A0& __a0,
const _A1& __a1, const _A2& __a2) const _A1& __a1, const _A2& __a2)
{ {
::new ((void*)__p) _Tp(__a0, __a1, __a2); ::new ((void*)__p) _Tp(__a0, __a1, __a2);