forked from organicmaps/organicmaps
[platform] Check the result of Settings::Get.
This commit is contained in:
parent
2f2be89eb2
commit
14658bd306
1 changed files with 1 additions and 1 deletions
|
@ -2874,7 +2874,7 @@ RouterType Framework::GetLastUsedRouter() const
|
|||
if (!settings::Get(kRouterTypeKey, routerTypeStr))
|
||||
return RouterType::Vehicle;
|
||||
|
||||
auto routerType = routing::FromString(routerTypeStr);
|
||||
auto const routerType = routing::FromString(routerTypeStr);
|
||||
|
||||
switch (routerType)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue