From 097fd970f536c3698b99a2aa023d88a3827d9618 Mon Sep 17 00:00:00 2001 From: bgbsww <120601209+bgbsww@users.noreply.github.com> Date: Wed, 18 Sep 2024 09:06:20 -0400 Subject: [PATCH] Gui: fix python syntax in C++ code that broke some compilers (#16614) --- src/Gui/Application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/Application.cpp b/src/Gui/Application.cpp index 3815021fd6..7c50dee967 100644 --- a/src/Gui/Application.cpp +++ b/src/Gui/Application.cpp @@ -992,7 +992,7 @@ void Application::slotFinishRestoreDocument([[maybe_unused]] const App::Document // allows them to 'FreeCAD.ConfigSet("SuppressRecomputeRequiredDialog", "True")` const std::map& Map = App::Application::Config(); auto value = Map.find("SuppressRecomputeRequiredDialog"); - bool skip = value not_eq Map.end() and not value->second.empty(); // Any non empty string is true. + bool skip = value != Map.end() && ! value->second.empty(); // Any non empty string is true. if (docs.empty() || skip ) return; WaitCursor wc;