From 6bbe05bb9914749a4727c967ce65236364391e9a Mon Sep 17 00:00:00 2001 From: Alexander Borsuk Date: Fri, 11 Feb 2022 19:06:18 +0100 Subject: [PATCH] Minor warning fix Signed-off-by: Alexander Borsuk --- routing_common/car_model.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routing_common/car_model.cpp b/routing_common/car_model.cpp index 52db21525c..049450c194 100644 --- a/routing_common/car_model.cpp +++ b/routing_common/car_model.cpp @@ -214,7 +214,7 @@ VehicleModel::SurfaceInitList const & CarModel::GetSurfaces() { return car_model CarModelFactory::CarModelFactory(CountryParentNameGetterFn const & countryParentNameGetterFn) : VehicleModelFactory(countryParentNameGetterFn) { - m_models[""] = make_shared( + m_models[""] = std::make_shared( car_model::kCarOptionsDefault, HighwayBasedInfo(kHighwayBasedSpeeds, kHighwayBasedFactors)); @@ -223,7 +223,7 @@ CarModelFactory::CarModelFactory(CountryParentNameGetterFn const & countryParent auto const * country = kv.first; auto const & limit = kv.second; m_models[country] = - make_shared(limit, HighwayBasedInfo(kHighwayBasedSpeeds, kHighwayBasedFactors)); + std::make_shared(limit, HighwayBasedInfo(kHighwayBasedSpeeds, kHighwayBasedFactors)); } } } // namespace routing