forked from boostorg/beast
Qualify buffer_copy, don't qualify buffer_size:
fix #1416 * Calls to buffer_copy are qualified as net::buffer_copy * Calls to buffer_size are made unqualified, permitting argument dependent lookup to take effect.
This commit is contained in:
1 parent
5b0b218d96
commit
a142969c5d
34 files changed
+162
-161
No files matched your search
@@ -298,12 +298,8 @@ public:
|
||||
void
|
||||
testGccWarning2()
|
||||
{
|
||||
using net::buffer;
|
||||
using net::buffer_copy;
|
||||
using net::const_buffer;
|
||||
|
||||
char out[64];
|
||||
const_buffer buffers("Hello, world!", 13);
|
||||
net::const_buffer buffers("Hello, world!", 13);
|
||||
std::size_t i = 3;
|
||||
buffers_suffix<net::const_buffer> cb{buffers};
|
||||
cb.consume(i);
|
||||
|
||||
Reference in new issue
Block a user