Fix unused variable warnings

This commit is contained in:
Ion Gaztañaga
2018-09-15 01:12:17 +02:00
parent 9f12901ff7
commit c4a8cac5a1
2 changed files with 4 additions and 4 deletions

View File

@@ -1902,7 +1902,7 @@ public:
// strong
varray(varray const& other)
{
//errh::check_capacity(*this, count);
errh::check_capacity(*this, other.size());
}
// strong
@@ -1922,7 +1922,7 @@ public:
// basic
varray & operator=(varray const& other)
{
//errh::check_capacity(*this, other.size());
errh::check_capacity(*this, other.size());
return *this;
}

View File

@@ -406,7 +406,7 @@ O move_if_noexcept(I first, I last, O dst)
template <typename I>
inline
void uninitialized_fill_dispatch(I first, I last,
void uninitialized_fill_dispatch(I , I ,
bcd::true_type const& /*is_trivially_default_constructible*/,
bcd::true_type const& /*disable_trivial_init*/)
{}
@@ -458,7 +458,7 @@ void uninitialized_fill(I first, I last, DisableTrivialInit const& disable_trivi
template <typename I>
inline
void construct_dispatch(bcd::true_type const& /*dont_init*/, I pos)
void construct_dispatch(bcd::true_type const& /*dont_init*/, I /*pos*/)
{}
template <typename I>