diff options
author | VladiMihaylenko <vxmihaylenko@gmail.com> | 2019-03-01 19:04:49 +0300 |
---|---|---|
committer | VladiMihaylenko <vxmihaylenko@gmail.com> | 2019-03-25 17:48:14 +0300 |
commit | 108e092011683887330a9d2b3ee89e3c7103b731 (patch) | |
tree | b6df6e22ec64895919514c7afff636304754fa7f /indexer | |
parent | f6893222b7a293cf666e97598000f11d41003260 (diff) |
Using cbegin/cend in classificator.cpp
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; } |