Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jarro2783/cxxopts.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/example.cpp')
-rw-r--r--src/example.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/example.cpp b/src/example.cpp
index 322425b..d0ae09c 100644
--- a/src/example.cpp
+++ b/src/example.cpp
@@ -182,7 +182,7 @@ parse(int argc, const char* argv[])
}
std::cout << std::endl;
}
- catch (const cxxopts::OptionException& e)
+ catch (const cxxopts::exceptions::exception& e)
{
std::cout << "error parsing options: " << e.what() << std::endl;
return false;