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 const & path) const uint32_t Classificator::GetTypeByPath(vector 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; }