From e0996341c577456c596b4cc25a879bd92715c4c7 Mon Sep 17 00:00:00 2001 From: Louise Poubel Date: Tue, 1 Mar 2022 18:23:15 -0800 Subject: [PATCH] Attempt at fixing Helpers test on macOS (#361) Signed-off-by: Louise Poubel --- src/Helpers_TEST.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Helpers_TEST.cc b/src/Helpers_TEST.cc index f1185a5c8..d7ac3d632 100644 --- a/src/Helpers_TEST.cc +++ b/src/Helpers_TEST.cc @@ -27,7 +27,10 @@ #include "ignition/gui/Helpers.hh" int gg_argc = 1; -char **gg_argv = new char *[gg_argc]; +char* gg_argv[] = +{ + reinterpret_cast(const_cast("./Helpers_TEST")), +}; using namespace ignition; using namespace gui;