mirror of
https://github.com/qicosmos/rest_rpc.git
synced 2026-08-29 16:40:48 +08:00
return back to c++11
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user