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
diff options
context:
space:
mode:
authorAlex Zolotarev <alex@maps.me>2015-06-01 19:05:51 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:49:29 +0300
commit3c848ec88696ba59f039e03c6512b808596b7daf (patch)
treedeb728f69c00d41556a1337ab3c208c081c14dd1 /map/user_mark.hpp
parent82875ff9576bc90fadebf261f936c52cb4da9b9f (diff)
Fixed wrong touch events written to statistics.
Diffstat (limited to 'map/user_mark.hpp')
-rw-r--r--map/user_mark.hpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/map/user_mark.hpp b/map/user_mark.hpp
index 29c49531db..c7cdb6c6ef 100644
--- a/map/user_mark.hpp
+++ b/map/user_mark.hpp
@@ -59,8 +59,8 @@ public:
{
double lat, lon;
GetLatLon(lat, lon);
- details.emplace("lat", strings::to_string(lat));
- details.emplace("lon", strings::to_string(lon));
+ details["lat"] = strings::to_string(lat);
+ details["lon"] = strings::to_string(lon);
}
protected:
@@ -125,8 +125,8 @@ public:
virtual void FillLogEvent(TEventContainer & details) const override
{
UserMark::FillLogEvent(details);
- details.emplace("markType", "API");
- details.emplace("name", GetName());
+ details["markType"] = "API";
+ details["name"] = GetName();
}
private:
@@ -152,7 +152,7 @@ public:
virtual void FillLogEvent(TEventContainer & details) const override
{
UserMark::FillLogEvent(details);
- details.emplace("markType", "DEBUG");
+ details["markType"] = "DEBUG";
}
};
@@ -189,10 +189,10 @@ public:
virtual void FillLogEvent(TEventContainer & details) const override
{
UserMark::FillLogEvent(details);
- details.emplace("markType", "SEARCH");
- details.emplace("name", m_info.GetPinName());
- details.emplace("type", m_info.GetPinType());
- details.emplace("metaData", m_metadata.Empty() ? "0" : "1");
+ details["markType"] = "SEARCH";
+ details["name"] = m_info.GetPinName();
+ details["type"] = m_info.GetPinType();
+ details["metaData"] = m_metadata.Empty() ? "0" : "1";
}
protected:
@@ -214,7 +214,7 @@ public:
virtual void FillLogEvent(TEventContainer & details) const override
{
SearchMarkPoint::FillLogEvent(details);
- details.emplace("markType", "POI");
+ details["markType"] = "POI";
}
void SetPtOrg(m2::PointD const & ptOrg) { m_ptOrg = ptOrg; }
@@ -230,7 +230,7 @@ public:
virtual void FillLogEvent(TEventContainer & details) const override
{
PoiMarkPoint::FillLogEvent(details);
- details.emplace("markType", "MY_POSITION");
+ details["markType"] = "MY_POSITION";
}
};