mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 21:13:35 +00:00
[core] Use constexpr when possible
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -21,13 +21,13 @@ namespace
|
||||
{
|
||||
using namespace storage::diffs;
|
||||
|
||||
char const kMaxVersionKey[] = "max_version";
|
||||
char const kMwmsKey[] = "mwms";
|
||||
char const kNameKey[] = "name";
|
||||
char const kSizeKey[] = "size";
|
||||
char const kVersionKey[] = "version";
|
||||
char constexpr kMaxVersionKey[] = "max_version";
|
||||
char constexpr kMwmsKey[] = "mwms";
|
||||
char constexpr kNameKey[] = "name";
|
||||
char constexpr kSizeKey[] = "size";
|
||||
char constexpr kVersionKey[] = "version";
|
||||
|
||||
auto const kTimeoutInSeconds = 5.0;
|
||||
auto constexpr kTimeoutInSeconds = 5.0;
|
||||
|
||||
string SerializeCheckerData(LocalMapsInfo const & info)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user