forked from boostorg/beast
message::body is a member function (API Change):
fix #778 * The body data member is replaced with accessor member functions. Actions Required: * Call member function message::body instead of accessing the data member at call sites.
This commit is contained in:
1 parent
0d4d239d05
commit
54fe7cacf7
36 files changed
+248
-182
No files matched your search
@@ -86,7 +86,7 @@ public:
|
||||
explicit
|
||||
reader(message<isRequest,
|
||||
basic_string_body, Fields> const& msg)
|
||||
: body_(msg.body)
|
||||
: body_(msg.body())
|
||||
{
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@ public:
|
||||
explicit
|
||||
writer(message<isRequest,
|
||||
basic_string_body, Fields>& m)
|
||||
: body_(m.body)
|
||||
: body_(m.body())
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user