Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
Diffstat (limited to 'editor')
-rw-r--r--editor/user_stats.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/editor/user_stats.cpp b/editor/user_stats.cpp
index e380cc2bad..1b3b7f89e7 100644
--- a/editor/user_stats.cpp
+++ b/editor/user_stats.cpp
@@ -6,10 +6,9 @@
#include "coding/url_encode.hpp"
#include "base/logging.hpp"
+#include "base/thread.hpp"
#include "base/timer.hpp"
-#include "std/thread.hpp"
-
#include "3party/Alohalytics/src/http_client.h"
#include "3party/pugixml/src/pugixml.hpp"
@@ -144,7 +143,7 @@ void UserStatsLoader::Update(string const & userName, UpdatePolicy const policy,
return;
}
- thread([this, userName, fn] {
+ threads::SimpleThread([this, userName, fn] {
if (Update(userName))
GetPlatform().RunOnGuiThread(fn);
}).detach();