diff --git a/include/internal/TestCPPTestCase.h b/include/internal/TestCPPTestCase.h index d0335b2..da4698b 100644 --- a/include/internal/TestCPPTestCase.h +++ b/include/internal/TestCPPTestCase.h @@ -196,7 +196,7 @@ namespace TestCPP { * This can be used for checking sections of output based on * test configuration. */ - void clearStdoutCapture (); + static void clearStdoutCapture (); /** * @brief Clears the captured output from std::clog. @@ -204,7 +204,7 @@ namespace TestCPP { * This can be used for checking sections of output based on * test configuration. */ - void clearLogCapture (); + static void clearLogCapture (); /** * @brief Clears the captured output from stderr. @@ -212,7 +212,7 @@ namespace TestCPP { * This can be used for checking sections of output based on * test configuration. */ - void clearStderrCapture (); + static void clearStderrCapture (); /** * @brief Check the argument against what is captured from diff --git a/include/internal/TestCPPTestSuite.h b/include/internal/TestCPPTestSuite.h index 9d9e83e..57780d2 100644 --- a/include/internal/TestCPPTestSuite.h +++ b/include/internal/TestCPPTestSuite.h @@ -109,7 +109,7 @@ namespace TestCPP { */ template typename enable_if::type - inline addTests () { } + static inline addTests () { } /** * @brief Add one or more tests at once to the test suite.