Fixed devtools/Preprocessor.cpp build
This was caused by a somewhat hidden API breakage in cxxopts, see https://github.com/jarro2783/cxxopts/issues/396
This commit is contained in:
parent
37539aef8c
commit
6cd063da8c
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ int main(int argc, char *argv[])
|
|||
std::unique_ptr<cxxopts::ParseResult> resultPtr;
|
||||
try {
|
||||
resultPtr = absl::make_unique<cxxopts::ParseResult>(options.parse(argc, argv));
|
||||
} catch (cxxopts::OptionException& ex) {
|
||||
} catch (cxxopts::exceptions::option_has_no_value& ex) {
|
||||
std::cerr << ex.what() << "\n";
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue