diff options
author | Yury Melnichek <melnichek@gmail.com> | 2011-10-15 17:05:30 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:26:00 +0300 |
commit | e0d37cf033f382193aac1b038d32004703e3a2f6 (patch) | |
tree | d6e12b872ad00d0eb536114f3b0404125f865cf3 /indexer/classificator.cpp | |
parent | 5e141ce070ceee80d4475f30f52c56ac8c0dee29 (diff) |
Clear classificator on loading.
Diffstat (limited to 'indexer/classificator.cpp')
-rw-r--r-- | indexer/classificator.cpp | 5 |
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(); +} |