forked from boostorg/beast
handler_ptr gives the strong exception guarantee (API Change):
* The handler_ptr constructor now provides the strong exception guarantee. * The signature for managed objects constructed by `handler_ptr` receives a const reference to the handler. Actions required: * Change the constructor signature for state objects used with handler_ptr to receive a const reference to the handler.
This commit is contained in:
1 parent
e08132106e
commit
285965d82e
11 files changed
+81
-41
No files matched your search
@@ -306,7 +306,7 @@ class write_msg_op
|
||||
Stream& s;
|
||||
serializer<isRequest, Body, Fields> sr;
|
||||
|
||||
data(Handler&, Stream& s_, message<
|
||||
data(Handler const&, Stream& s_, message<
|
||||
isRequest, Body, Fields>& m_)
|
||||
: s(s_)
|
||||
, sr(m_)
|
||||
|
||||
Reference in new issue
Block a user