diff options
Diffstat (limited to 'indexer')
-rw-r--r-- | indexer/classificator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/classificator.cpp b/indexer/classificator.cpp index 280f7ebd0d..026f53dffd 100644 --- a/indexer/classificator.cpp +++ b/indexer/classificator.cpp @@ -400,7 +400,7 @@ uint32_t Classificator::GetTypeByPathSafe(vector<string> const & path) const uint32_t Classificator::GetTypeByPath(vector<string> const & path) const { - uint32_t const type = GetTypeByPathImpl(path.begin(), path.end()); + uint32_t const type = GetTypeByPathImpl(path.cbegin(), path.cend()); ASSERT_NOT_EQUAL(type, 0, (path)); return type; } |