diff options
author | VladiMihaylenko <vxmihaylenko@gmail.com> | 2018-07-30 12:23:04 +0300 |
---|---|---|
committer | Tatiana Yan <tatiana.kondakova@gmail.com> | 2018-07-30 15:40:47 +0300 |
commit | ce819c70ea91ec2c55590cd92665ddb85761f616 (patch) | |
tree | 610e9f620b7165e6e64cbe45568f052ff6a3cc77 /ugc | |
parent | c9d9c562b3a473dfde82ef1ccfbd1cbb62b874ee (diff) |
Fixed linux build
Diffstat (limited to 'ugc')
-rw-r--r-- | ugc/CMakeLists.txt | 1 | ||||
-rw-r--r-- | ugc/storage.cpp | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ugc/CMakeLists.txt b/ugc/CMakeLists.txt index 1e2093cdec..7bbab407e1 100644 --- a/ugc/CMakeLists.txt +++ b/ugc/CMakeLists.txt @@ -2,6 +2,7 @@ project(ugc) include_directories( ${OMIM_ROOT}/3party/jansson/src + ${OMIM_ROOT}/Alohalytics/src ) set( diff --git a/ugc/storage.cpp b/ugc/storage.cpp index 6b0f7ef2f7..6d9317a0d6 100644 --- a/ugc/storage.cpp +++ b/ugc/storage.cpp @@ -20,6 +20,7 @@ #include "base/stl_helpers.hpp" #include <algorithm> +#include <map> #include <utility> #include "3party/Alohalytics/src/alohalytics.h" @@ -216,7 +217,8 @@ void Storage::Load() if (data.empty()) { ASSERT(false, ()); - alohalytics::Stats::Instance().LogEvent("UGC_File_error", {{"error", "empty index file"}}); + map<string, string> const stat = {{"error", "empty index file"}}; + alohalytics::Stats::Instance().LogEvent("UGC_File_error", stat); return; } |