Fix unused variable warning

fix #1119
This commit is contained in:
Vinnie Falco
2018-05-18 16:47:14 -07:00
parent 6ea66fd89e
commit 0afb380f50
2 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@ Version 171:
* Add handler_ptr::has_value
* Remove spurious assert
* Fix unused variable warning
--------------------------------------------------------------------------------

View File

@ -114,6 +114,7 @@ invoke(Args&&... args)
clear();
auto deleter = [](Handler* h)
{
boost::ignore_unused(h); // fix #1119
h->~Handler();
};
std::unique_ptr<