diff options
Diffstat (limited to 'ugc/storage.cpp')
-rw-r--r-- | ugc/storage.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |