From 1d34b7f3dea4bedb0d328c428d4cd40d4a32dd51 Mon Sep 17 00:00:00 2001 From: eidheim Date: Mon, 19 Jun 2017 12:37:50 +0200 Subject: [PATCH] Minor change in io_test.cpp --- tests/io_test.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; }); }); }