Skip to content

Commit

Permalink
Fixed
Browse files Browse the repository at this point in the history
Signed-off-by: ahcorde <[email protected]>
  • Loading branch information
ahcorde committed Apr 27, 2021
1 parent f5cbc24 commit 476a11a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ign.cc
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,6 @@ extern "C" int runGui(const char *_guiConfig)
// be converted to a const char *. The const cast is here to prevent a warning
// since we do need to pass a char* to runGui
char *argv = const_cast<char *>("ign-gazebo-gui");
ignition::gazebo::v5::EntityComponentManager guiEcm;
ignition::gazebo::v6::EntityComponentManager guiEcm;
return ignition::gazebo::gui::runGui(argc, &argv, _guiConfig, guiEcm, false);
}

0 comments on commit 476a11a

Please sign in to comment.