return back to c++11

This commit is contained in:
qicosmos
2019-09-06 16:12:59 +08:00
parent 8a02c42353
commit e91d5f7838
+1 -1
View File
@@ -516,7 +516,7 @@ void test_threads() {
std::thread thd2([&client] {
for (size_t i = 1000000; i < 2*1000000; i++) {
client.async_call("get_int", [i](auto ec, auto data) {
client.async_call("get_int", [i](boost::system::error_code ec, string_view data) {
if (ec) {
std::cout << ec.message() << '\n';
return;