Skip to content

Commit

Permalink
Fixed devtools/Preprocessor.cpp build
Browse files Browse the repository at this point in the history
This was caused by a somewhat hidden API breakage in cxxopts, see
jarro2783/cxxopts#396
  • Loading branch information
redtide committed May 1, 2023
1 parent 37539ae commit 6cd063d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devtools/Preprocessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6cd063d

Please # to comment.