diff --git a/ApplicationCode/UnitTests/RifcCommandCore-Test.cpp b/ApplicationCode/UnitTests/RifcCommandCore-Test.cpp index 020f873705..aa342003c8 100644 --- a/ApplicationCode/UnitTests/RifcCommandCore-Test.cpp +++ b/ApplicationCode/UnitTests/RifcCommandCore-Test.cpp @@ -19,10 +19,12 @@ public: RICF_InitField(&m_boolArgument, "BoolArgument", false, "BoolArgument", "", "", ""); } - void execute() override { std::cout << "TestCommand1::execute(" << "\"" << m_textArgument().toStdString() << "\", " - << m_doubleArgument() << ", " - << m_intArgument << ", " - << m_boolArgument << ");" << std::endl; } + RicfCommandResponse execute() override { + std::cout << "TestCommand1::execute(" + << "\"" << m_textArgument().toStdString() << "\", " << m_doubleArgument() << ", " << m_intArgument << ", " + << m_boolArgument << ");" << std::endl; + return RicfCommandResponse(); + } caf::PdmField m_textArgument; caf::PdmField m_doubleArgument; @@ -45,9 +47,13 @@ public: RICF_InitField(&m_boolArgument, "ba", false,"BoolArgument", "", "", ""); } - void execute() override { std::cout << "TC2::execute(" << "\"" << m_textArgument().toStdString() << "\", " + RicfCommandResponse execute() override + { + std::cout << "TC2::execute(" << "\"" << m_textArgument().toStdString() << "\", " << m_doubleArgument() << ", " - << m_intArgument() << ", " << m_boolArgument() << ");" << std::endl; } + << m_intArgument() << ", " << m_boolArgument() << ");" << std::endl; + return RicfCommandResponse(); + } caf::PdmField m_textArgument; caf::PdmField m_doubleArgument;