From 1bed2f4f297d16f738b2c14f9e0fd24b7b03dade Mon Sep 17 00:00:00 2001 From: Colm Donelan Date: Tue, 18 May 2021 17:42:28 +0100 Subject: IVGCVSW-5964 Removing some obsolete Boost references. Signed-off-by: Colm Donelan Change-Id: Ic0a2e62e3808caf89ee429ec184d947a04340248 --- tests/InferenceTest.cpp | 3 --- tests/ModelAccuracyTool-Armnn/ModelAccuracyTool-Armnn.cpp | 3 --- 2 files changed, 6 deletions(-) (limited to 'tests') diff --git a/tests/InferenceTest.cpp b/tests/InferenceTest.cpp index e31e7dc6fb..ebbf5066e4 100644 --- a/tests/InferenceTest.cpp +++ b/tests/InferenceTest.cpp @@ -68,9 +68,6 @@ bool ParseCommandLine(int argc, char** argv, IInferenceTestCaseProvider& testCas } catch (const std::exception& e) { - // Coverity points out that default_value(...) can throw a bad_lexical_cast, - // and that desc.add_options() can throw boost::io::too_few_args. - // They really won't in any of these cases. ARMNN_ASSERT_MSG(false, "Caught unexpected exception"); std::cerr << "Fatal internal error: " << e.what() << std::endl; return false; diff --git a/tests/ModelAccuracyTool-Armnn/ModelAccuracyTool-Armnn.cpp b/tests/ModelAccuracyTool-Armnn/ModelAccuracyTool-Armnn.cpp index e1a637a2d1..672f744ee5 100644 --- a/tests/ModelAccuracyTool-Armnn/ModelAccuracyTool-Armnn.cpp +++ b/tests/ModelAccuracyTool-Armnn/ModelAccuracyTool-Armnn.cpp @@ -136,9 +136,6 @@ int main(int argc, char* argv[]) } catch (const std::exception& e) { - // Coverity points out that default_value(...) can throw a bad_lexical_cast, - // and that desc.add_options() can throw boost::io::too_few_args. - // They really won't in any of these cases. ARMNN_ASSERT_MSG(false, "Caught unexpected exception"); std::cerr << "Fatal internal error: " << e.what() << std::endl; return EXIT_FAILURE; -- cgit v1.2.1