MCPcopy Create free account
hub / github.com/comaps/comaps / SaveCarOptionsToSettings

Method SaveCarOptionsToSettings

libs/routing/routing_options.cpp:32–35  ·  view source on GitHub ↗

static

Source from the content-addressed store, hash-verified

30
31// static
32void RoutingOptions::SaveCarOptionsToSettings(RoutingOptions options)
33{
34 settings::Set(kAvoidRoutingOptionSettingsForCar, strings::to_string(static_cast<int32_t>(options.GetOptions())));
35}
36
37void RoutingOptions::Add(RoutingOptions::Road type)
38{

Callers

nothing calls this directly

Calls 3

to_stringFunction · 0.85
GetOptionsMethod · 0.80
SetFunction · 0.50

Tested by

no test coverage detected