mirror of
https://github.com/boostorg/beast.git
synced 2025-08-01 22:04:34 +02:00
@@ -12,6 +12,7 @@
|
|||||||
* Add basic_parser_v1::reset
|
* Add basic_parser_v1::reset
|
||||||
* Fix handling of body_what::pause in basic_parser_v1
|
* Fix handling of body_what::pause in basic_parser_v1
|
||||||
* Add headers_parser
|
* Add headers_parser
|
||||||
|
* Engaged invokable is destructible
|
||||||
|
|
||||||
API Changes:
|
API Changes:
|
||||||
|
|
||||||
|
@@ -74,15 +74,11 @@ class invokable
|
|||||||
alignas(holder<exemplar>) buf_type buf_;
|
alignas(holder<exemplar>) buf_type buf_;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
#ifndef NDEBUG
|
|
||||||
~invokable()
|
~invokable()
|
||||||
{
|
{
|
||||||
// Engaged invokables must be invoked before
|
if(base_)
|
||||||
// destruction otherwise the io_service
|
base_->~base();
|
||||||
// invariants are broken w.r.t completions.
|
|
||||||
BOOST_ASSERT(! base_);
|
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
invokable() = default;
|
invokable() = default;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user