From 7944c31f93c9b089455ef9c5e40dd94b7db5f6bc Mon Sep 17 00:00:00 2001 From: wmayer Date: Thu, 14 Nov 2019 19:42:24 +0100 Subject: [PATCH] restore old definition of doCommand macro due to msvc failure --- src/Gui/Command.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Gui/Command.h b/src/Gui/Command.h index cf7f53034a..486523ea20 100644 --- a/src/Gui/Command.h +++ b/src/Gui/Command.h @@ -450,7 +450,8 @@ public: * * @sa Command::_doCommand() */ -#define doCommand(...) _doCommand(__FILE__,__LINE__,__VA_ARGS__) +//#define doCommand(...) _doCommand(__FILE__,__LINE__,__VA_ARGS__) +#define doCommand(_type,...) _doCommand(__FILE__,__LINE__,_type,##__VA_ARGS__) /** Run a command with printf like formatter *