Skip to content

Commit

Permalink
IsHMIResultSuccess was moved (#3754)
Browse files Browse the repository at this point in the history
  • Loading branch information
iCollin authored Aug 12, 2021
1 parent 036b185 commit 04c02ec
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ void DeleteSubMenuRequest::on_event(const event_engine::Event& event) {
return;
}

if (IsHMIResultSuccess(result_code)) {
if (application_manager::commands::IsHMIResultSuccess(result_code)) {
const auto cmd_id = msg_params[strings::cmd_id].asUInt();
SDL_LOG_DEBUG("Removing UI Command: " << cmd_id);
app->RemoveCommand(cmd_id);
Expand Down Expand Up @@ -279,7 +279,7 @@ void DeleteSubMenuRequest::on_event(const event_engine::Event& event) {
return;
}

if (IsHMIResultSuccess(result_code)) {
if (application_manager::commands::IsHMIResultSuccess(result_code)) {
const auto menu_id = msg_params[strings::menu_id].asUInt();
SDL_LOG_DEBUG("Removing submenuID: " << menu_id);
app->RemoveSubMenu(menu_id);
Expand Down

0 comments on commit 04c02ec

Please sign in to comment.