diff options
author | Sho Amano <samano@xevo.com> | 2018-07-04 14:17:32 +0900 |
---|---|---|
committer | Sho Amano <samano@xevo.com> | 2018-07-04 14:20:13 +0900 |
commit | 76413b7f0bf4e7e99cdfaaf8d67955561094e8a0 (patch) | |
tree | 64b4eaf07e900d8779ba5af952e4d1c8b241193e /src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/hmi_command_factory.cc | |
parent | 45874101023448509b072d2ce9e75098434e227f (diff) | |
download | sdl_core-76413b7f0bf4e7e99cdfaaf8d67955561094e8a0.tar.gz |
fix: syntax error in hmi_command_factory.cc
Diffstat (limited to 'src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/hmi_command_factory.cc')
-rw-r--r-- | src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/hmi_command_factory.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/hmi_command_factory.cc b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/hmi_command_factory.cc index bb621f814c..83edb76264 100644 --- a/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/hmi_command_factory.cc +++ b/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/hmi_command_factory.cc @@ -639,11 +639,12 @@ CommandCreator& HMICommandFactory::get_creator_factory( } case hmi_apis::FunctionID::VehicleInfo_GetFuelLevelState: { return hmi_apis::messageType::request == message_type - ? factory.GetCreator<commands::VIGetVehicleDataRequestTemplate< - hmi_apis::FunctionID::VehicleInfo_GetFuelLevelState> >(); - : factory.GetCreator< - commands::VIGetVehicleDataResponseTemplate<hmi_apis:: - FunctionID::VehicleInfo_GetFuelLevelState>> () + ? factory.GetCreator<commands::VIGetVehicleDataRequestTemplate< + hmi_apis::FunctionID::VehicleInfo_GetFuelLevelState> >() + : factory + .GetCreator<commands::VIGetVehicleDataResponseTemplate< + hmi_apis::FunctionID:: + VehicleInfo_GetFuelLevelState> >(); } case hmi_apis::FunctionID::VehicleInfo_GetInstantFuelConsumption: { return hmi_apis::messageType::request == message_type |