diff options
author | Derek Lamberti <derek.lamberti@arm.com> | 2019-12-10 21:20:10 +0000 |
---|---|---|
committer | Francis Murtagh <francis.murtagh@arm.com> | 2019-12-30 15:03:02 +0000 |
commit | eb1fce0f5b13b479b13a9d265ebdc8792676b163 (patch) | |
tree | 450dcfe789f230218d3f8f334a8248e81b4d82fc /tests/InferenceTest.hpp | |
parent | 12575ec6e9a936292ee1915b078b0bf0015c4438 (diff) | |
download | armnn-eb1fce0f5b13b479b13a9d265ebdc8792676b163.tar.gz |
IVGCVSW-4246 Clean build end-to-end tests with -Wextra
Change-Id: Ia25f919e45a210e1e2d5d50b0c9098bf01d88013
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
Diffstat (limited to 'tests/InferenceTest.hpp')
-rw-r--r-- | tests/InferenceTest.hpp | 13 |
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; }; }; |