aboutsummaryrefslogtreecommitdiff
path: root/tests/InferenceTest.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/InferenceTest.hpp')
-rw-r--r--tests/InferenceTest.hpp13
1 files changed, 10 insertions, 3 deletions
diff --git a/tests/InferenceTest.hpp b/tests/InferenceTest.hpp
index 7b7dcecea0..6423d1c7ff 100644
--- a/tests/InferenceTest.hpp
+++ b/tests/InferenceTest.hpp
@@ -9,7 +9,7 @@
#include <armnn/TypesUtils.hpp>
#include "InferenceModel.hpp"
-
+#include <boost/core/ignore_unused.hpp>
#include <boost/program_options.hpp>
@@ -91,8 +91,15 @@ class IInferenceTestCaseProvider
public:
virtual ~IInferenceTestCaseProvider() {}
- virtual void AddCommandLineOptions(boost::program_options::options_description& options) {};
- virtual bool ProcessCommandLineOptions(const InferenceTestOptions &commonOptions) { return true; };
+ virtual void AddCommandLineOptions(boost::program_options::options_description& options)
+ {
+ boost::ignore_unused(options);
+ };
+ virtual bool ProcessCommandLineOptions(const InferenceTestOptions &commonOptions)
+ {
+ boost::ignore_unused(commonOptions);
+ return true;
+ };
virtual std::unique_ptr<IInferenceTestCase> GetTestCase(unsigned int testCaseId) = 0;
virtual bool OnInferenceTestFinished() { return true; };
};