mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
[core] Use constexpr when possible
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -112,7 +112,7 @@ size_t constexpr kMaxTrafficCacheSizeBytes = 64 /* Mb */ * 1024 * 1024;
|
||||
// This is temporary solution while we don't have a good filter.
|
||||
bool ParseSetGpsTrackMinAccuracyCommand(string const & query)
|
||||
{
|
||||
char const kGpsAccuracy[] = "?gpstrackaccuracy:";
|
||||
char constexpr kGpsAccuracy[] = "?gpstrackaccuracy:";
|
||||
if (!query.starts_with(kGpsAccuracy))
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user