Skip to content

Update server.cpp#1606

Open
George-Creekbed wants to merge 1 commit into
chriskohlhoff:masterfrom
George-Creekbed:patch-2
Open

Update server.cpp#1606
George-Creekbed wants to merge 1 commit into
chriskohlhoff:masterfrom
George-Creekbed:patch-2

Conversation

@George-Creekbed

Copy link
Copy Markdown

boost::asio::placeholders used in lines 44-45 and 58-59 only work with boost::bind.

std::bind should use std::placeholders::_1 and std::placeholders::_2 instead.

Refer to this stackoverflow question

`boost::asio::placeholders` used in lines 44-45 and 58-59 only work with `boost::bind`.

`std::bind` should use `std::placeholders::_1` and `std::placeholders::_2` instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant