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/stats
diff options
context:
space:
mode:
authorDmitry Kunin <dkunin@mapswith.me>2013-12-18 13:31:14 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:09:08 +0300
commit8a80ba34236dc0a6cea112a02c805d662177afac (patch)
tree29abcda2e9476ae35f920349f10fcbd6206c7520 /stats
parent18eb43679a152144f2710f1a6c542c29481ec6d3 (diff)
[CodeReview]
Diffstat (limited to 'stats')
-rw-r--r--stats/client/stats_client.cpp8
-rw-r--r--stats/client/stats_client.hpp1
-rw-r--r--stats/client/stats_writer.cpp3
-rw-r--r--stats/stats.pro4
4 files changed, 1 insertions, 15 deletions
diff --git a/stats/client/stats_client.cpp b/stats/client/stats_client.cpp
index 1b1081b791..d0858090aa 100644
--- a/stats/client/stats_client.cpp
+++ b/stats/client/stats_client.cpp
@@ -23,12 +23,4 @@ bool Client::Search(string const & query)
return m_writer->Write(s);
}
-bool Client::DropPin(long long latlong, string const & label)
-{
- PinDrop p;
- p.set_latlong(latlong);
- p.set_label(label);
- return m_writer->Write(p);
-}
-
} // namespace stats
diff --git a/stats/client/stats_client.hpp b/stats/client/stats_client.hpp
index 0ffe0ffa6a..c313c78c5c 100644
--- a/stats/client/stats_client.hpp
+++ b/stats/client/stats_client.hpp
@@ -13,7 +13,6 @@ public:
Client();
~Client();
bool Search(string const & query);
- bool DropPin(long long latlong, string const & label);
private:
StatsWriter * m_writer;
diff --git a/stats/client/stats_writer.cpp b/stats/client/stats_writer.cpp
index 2648d7022d..94e4286b05 100644
--- a/stats/client/stats_writer.cpp
+++ b/stats/client/stats_writer.cpp
@@ -8,8 +8,7 @@ namespace stats
{
StatsWriter::StatsWriter(string const & uniqueClientId, string const & dbPath)
- : m_cnt(0), m_db(0), m_path(dbPath),
- m_uid(0)
+ : m_cnt(0), m_db(0), m_path(dbPath), m_uid(0)
{
}
diff --git a/stats/stats.pro b/stats/stats.pro
index 7430bc38bc..5a2b7f0e0d 100644
--- a/stats/stats.pro
+++ b/stats/stats.pro
@@ -4,7 +4,3 @@ TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS = client
-
-!iphone*:!bada*:!android* {
- SUBDIRS +=
-}