mirror of
https://github.com/boostorg/beast.git
synced 2025-08-01 05:44:38 +02:00
Tidy up unused variable warnings
This commit is contained in:
@@ -3,6 +3,7 @@ Version 126:
|
||||
* Add CppCon2017 presentation link
|
||||
* Update README.md
|
||||
* Update stream write documentation for end of stream changes
|
||||
* Tidy up unused variable warnings
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
@@ -202,6 +202,7 @@ session_alloc_base<Context>::
|
||||
pool_t::
|
||||
dealloc(void* pv, std::size_t n)
|
||||
{
|
||||
boost::ignore_unused(n);
|
||||
auto& e = *(reinterpret_cast<element*>(pv) - 1);
|
||||
BOOST_ASSERT(e.size() == n);
|
||||
if( (e.end() > buf_ + size_) ||
|
||||
|
@@ -162,12 +162,14 @@ public:
|
||||
|
||||
pausation(pausation&& other)
|
||||
{
|
||||
boost::ignore_unused(other);
|
||||
BOOST_ASSERT(! other.base_);
|
||||
}
|
||||
|
||||
pausation&
|
||||
operator=(pausation&& other)
|
||||
{
|
||||
boost::ignore_unused(other);
|
||||
BOOST_ASSERT(! base_);
|
||||
BOOST_ASSERT(! other.base_);
|
||||
return *this;
|
||||
|
Reference in New Issue
Block a user