From 476a11abb9fd17dbc37bae489c128e76218723c2 Mon Sep 17 00:00:00 2001 From: ahcorde Date: Tue, 27 Apr 2021 16:42:01 +0200 Subject: [PATCH] Fixed Signed-off-by: ahcorde --- src/ign.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ign.cc b/src/ign.cc index 67f9d2f746..6c3ba8ccc5 100644 --- a/src/ign.cc +++ b/src/ign.cc @@ -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("ign-gazebo-gui"); - ignition::gazebo::v5::EntityComponentManager guiEcm; + ignition::gazebo::v6::EntityComponentManager guiEcm; return ignition::gazebo::gui::runGui(argc, &argv, _guiConfig, guiEcm, false); }