summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cppe/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2cppe/Main.cpp')
-rw-r--r--cpp/src/slice2cppe/Main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2cppe/Main.cpp b/cpp/src/slice2cppe/Main.cpp
index 895b201ad9d..5e77f298d84 100644
--- a/cpp/src/slice2cppe/Main.cpp
+++ b/cpp/src/slice2cppe/Main.cpp
@@ -80,7 +80,7 @@ main(int argc, char* argv[])
{
args = opts.parse(argc, (const char**)argv);
}
- catch(const IceUtil::Options::BadOpt& e)
+ catch(const IceUtil::BadOptException& e)
{
cerr << argv[0] << ": " << e.reason << endl;
usage(argv[0]);