diff --git a/tests/io_test.cpp b/tests/io_test.cpp index 9686fe4..67491e0 100644 --- a/tests/io_test.cpp +++ b/tests/io_test.cpp @@ -118,17 +118,17 @@ int main() { assert(call); { - vector calls(100); + vector calls(100); vector threads; for(size_t c=0;c<100;++c) { - calls[c]=false; + calls[c]=0; threads.emplace_back([c, &client, &calls] { client.request("GET", "/match/123", [c, &calls](shared_ptr response, const SimpleWeb::error_code &ec) { assert(!ec); stringstream output; output << response->content.rdbuf(); assert(output.str()=="123"); - calls[c]=true; + calls[c]=1; }); }); }