summaryrefslogtreecommitdiff
path: root/boost/beast/core/impl/handler_ptr.ipp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/beast/core/impl/handler_ptr.ipp')
-rw-r--r--boost/beast/core/impl/handler_ptr.ipp1
1 files changed, 1 insertions, 0 deletions
diff --git a/boost/beast/core/impl/handler_ptr.ipp b/boost/beast/core/impl/handler_ptr.ipp
index 99d1a894d5..06bdd81c40 100644
--- a/boost/beast/core/impl/handler_ptr.ipp
+++ b/boost/beast/core/impl/handler_ptr.ipp
@@ -114,6 +114,7 @@ invoke(Args&&... args)
clear();
auto deleter = [](Handler* h)
{
+ boost::ignore_unused(h); // fix #1119
h->~Handler();
};
std::unique_ptr<