mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 21:13:35 +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
@@ -50,7 +50,7 @@ std::string_view GetUnitsGroupingSeparator(Locale const & locale)
|
||||
|
||||
bool IsUnitsOrderValid(std::initializer_list<Duration::Units> units)
|
||||
{
|
||||
return base::IsSortedAndUnique(units.begin(), units.end());
|
||||
return base::IsSortedAndUnique(units);
|
||||
}
|
||||
} // namespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user