diff options
author | Jim Flynn <jim.flynn@arm.com> | 2023-04-10 23:26:40 +0100 |
---|---|---|
committer | TeresaARM <teresa.charlinreyes@arm.com> | 2023-04-26 14:02:18 +0000 |
commit | 357add2c4685362afb188feaaa67b90e4d6d2361 (patch) | |
tree | 8016797bb16f9a6e2334c2f30eb1fecf8913c3f0 /tests/TfLiteYoloV3Big-Armnn | |
parent | 2b04ec3b94da152281fbbc69f8539378589b1f56 (diff) | |
download | armnn-357add2c4685362afb188feaaa67b90e4d6d2361.tar.gz |
Update cxxopts from 3.0 to 3.1.1
!android-nn-driver:9431
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Change-Id: I58143445b5c5cf2aafd0838156c9543adce21e6a
Diffstat (limited to 'tests/TfLiteYoloV3Big-Armnn')
-rw-r--r-- | tests/TfLiteYoloV3Big-Armnn/TfLiteYoloV3Big-Armnn.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/TfLiteYoloV3Big-Armnn/TfLiteYoloV3Big-Armnn.cpp b/tests/TfLiteYoloV3Big-Armnn/TfLiteYoloV3Big-Armnn.cpp index 3ecd160b48..355fa25ad3 100644 --- a/tests/TfLiteYoloV3Big-Armnn/TfLiteYoloV3Big-Armnn.cpp +++ b/tests/TfLiteYoloV3Big-Armnn/TfLiteYoloV3Big-Armnn.cpp @@ -1,5 +1,5 @@ // -// Copyright © 2020 Arm Ltd. All rights reserved. +// Copyright © 2020, 2023 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // @@ -417,7 +417,7 @@ struct ParseArgs { std::stringstream ss; ss << "Argument given to" << argName << "is not a valid file path"; - throw cxxopts::option_syntax_exception(ss.str().c_str()); + throw cxxopts::exceptions::invalid_option_syntax(ss.str().c_str()); } return path; } @@ -428,7 +428,7 @@ struct ParseArgs return ""; } - throw cxxopts::missing_argument_exception(argName); + throw cxxopts::exceptions::missing_argument(argName); } } @@ -440,7 +440,7 @@ struct ParseArgs { return std::vector<std::string>(); } - throw cxxopts::option_syntax_exception("Comparison files requires 5 file paths."); + throw cxxopts::exceptions::invalid_option_syntax("Comparison files requires 5 file paths."); } std::vector<std::string> filePaths; @@ -449,7 +449,8 @@ struct ParseArgs filePaths.push_back(path); if (!ValidateFilePath(filePaths.back(), ExpectFile::True)) { - throw cxxopts::option_syntax_exception("Argument given to Comparison Files is not a valid file path"); + throw cxxopts::exceptions::invalid_option_syntax( + "Argument given to Comparison Files is not a valid file path"); } } return filePaths; |