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 /shim | |
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 'shim')
-rw-r--r-- | shim/sl/canonical/DriverOptions.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shim/sl/canonical/DriverOptions.cpp b/shim/sl/canonical/DriverOptions.cpp index 5c73edfaa6..b23dd06e6f 100644 --- a/shim/sl/canonical/DriverOptions.cpp +++ b/shim/sl/canonical/DriverOptions.cpp @@ -1,5 +1,5 @@ // -// Copyright © 2022 Arm Ltd and Contributors. All rights reserved. +// Copyright © 2022-2023 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // @@ -106,7 +106,7 @@ DriverOptions::DriverOptions() string optionsAsString(rawEnv); regex whiteSpaceRegex("\\s+"); // Tokienize the string based on whitespace. - sregex_token_iterator iter(optionsAsString.begin(), optionsAsString.end(), whiteSpaceRegex, -1); + sregex_token_iterator iter(optionsAsString.begin(), optionsAsString.end(), whiteSpaceRegex, -1); sregex_token_iterator end; vector<string> cliAsVector(iter, end); // As we're pretending to be a command line, argv[0] should be an executable name. @@ -216,7 +216,7 @@ DriverOptions::DriverOptions() { cxxopts::ParseResult result = optionsDesc.parse(argc, argv); } - catch (const cxxopts::OptionException& e) + catch (const cxxopts::exceptions::exception& e) { VLOG(DRIVER) << "An exception occurred attempting to parse program options: " << e.what(); std::cout << optionsDesc.help() << std::endl |