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:
Vinnie Falco
2017-09-12 17:12:12 -07:00
parent 0d4d239d05
commit 54fe7cacf7
36 changed files with 248 additions and 182 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ public:
lambda visit;
error_code ec;
response<string_body> res;
res.body.append(1000, '*');
res.body().append(1000, '*');
serializer<false, string_body> sr{res};
sr.limit(limit);
for(;;)