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:
authorYury Melnichek <melnichek@gmail.com>2011-10-15 17:05:30 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:26:00 +0300
commite0d37cf033f382193aac1b038d32004703e3a2f6 (patch)
treed6e12b872ad00d0eb536114f3b0404125f865cf3 /indexer/classificator.cpp
parent5e141ce070ceee80d4475f30f52c56ac8c0dee29 (diff)
Clear classificator on loading.
Diffstat (limited to 'indexer/classificator.cpp')
-rw-r--r--indexer/classificator.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indexer/classificator.cpp b/indexer/classificator.cpp
index 17169eb220..a46e049f50 100644
--- a/indexer/classificator.cpp
+++ b/indexer/classificator.cpp
@@ -508,3 +508,8 @@ void Classificator::ReadTypesMapping(string const & buffer)
m_i2t.Load(buffer);
m_t2i.Load(buffer);
}
+
+void Classificator::Clear()
+{
+ *this = Classificator();
+}