mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 05:13:58 +00:00
[core] Use constexpr when possible
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -44,9 +44,9 @@ using namespace std;
|
||||
|
||||
namespace
|
||||
{
|
||||
char const kRouterTypeKey[] = "router";
|
||||
char constexpr kRouterTypeKey[] = "router";
|
||||
|
||||
double const kRouteScaleMultiplier = 1.5;
|
||||
double constexpr kRouteScaleMultiplier = 1.5;
|
||||
|
||||
string const kRoutePointsFile = "route_points.dat";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user