forked from boostorg/beast
Remove const&& overload of message::body
This commit is contained in:
1 parent
e89814ff4a
commit
5177d729a7
3 files changed
+12
-18
No files matched your search
@@ -283,7 +283,7 @@ public:
|
||||
}
|
||||
{
|
||||
auto f = [](empty_body::value_type const&){};
|
||||
request<empty_body> const m;
|
||||
request<empty_body> const m{};
|
||||
f(m.body());
|
||||
f(std::move(m.body()));
|
||||
}
|
||||
@@ -295,8 +295,7 @@ public:
|
||||
}
|
||||
{
|
||||
auto f = [](empty_body::value_type const&&){};
|
||||
request<empty_body> const m;
|
||||
f(std::move(m).body());
|
||||
request<empty_body> const m{};
|
||||
f(std::move(m.body()));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user