mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-22 06:03:45 +00:00
[base] Updated IsSortedAndUnique function.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
b7b87f5530
commit
7b4862b442
@@ -833,7 +833,7 @@ int HouseDetector::LoadStreets(vector<FeatureID> const & ids)
|
||||
{
|
||||
// LOG(LDEBUG, ("IDs = ", ids));
|
||||
|
||||
ASSERT(base::IsSortedAndUnique(ids.begin(), ids.end()), ());
|
||||
ASSERT(base::IsSortedAndUnique(ids), ());
|
||||
|
||||
// Check if the cache is obsolete and need to be cleared.
|
||||
if (!m_id2st.empty())
|
||||
|
||||
Reference in New Issue
Block a user