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:
Damian Jarek authored and Vinnie Falco committed 2017-12-08 10:58:46 -08:00
1 parent e08132106e
commit 285965d82e
11 files changed
+81 -41

No files matched your search

+1 -1
View File
@@ -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_)