From d507f7ea2333ee677301130e94db23e1d019a380 Mon Sep 17 00:00:00 2001 From: csoler Date: Fri, 30 Aug 2019 22:11:33 +0200 Subject: [PATCH] fixed compilation warning --- retroshare-service/src/retroshare-service.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroshare-service/src/retroshare-service.cc b/retroshare-service/src/retroshare-service.cc index 6e8b0d9d5..e1d84d2d7 100644 --- a/retroshare-service/src/retroshare-service.cc +++ b/retroshare-service/src/retroshare-service.cc @@ -284,7 +284,7 @@ int main(int argc, char* argv[]) if(jsonApiServer) jsonApiServer->authorizeToken("webui:"+webui_pass1); - std::atomic keepRunning = true; + std::atomic keepRunning(true); rsControl->setShutdownCallback([&](int){keepRunning = false;}); while(keepRunning)