diff options
author | Benoit Foucher <benoit@zeroc.com> | 2018-02-06 11:02:07 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2018-02-06 11:02:07 +0100 |
commit | b72d4592efe190892d2ed0d106a7793444c2c695 (patch) | |
tree | 40f79b14848a224451c3a6cd136a2d371671af87 /cpp/test/Ice/interceptor/MyObjectI.cpp | |
parent | Fixed typo in IceGrid ACM client timeout property name (ICE-8623) (diff) | |
download | ice-b72d4592efe190892d2ed0d106a7793444c2c695.tar.bz2 ice-b72d4592efe190892d2ed0d106a7793444c2c695.tar.xz ice-b72d4592efe190892d2ed0d106a7793444c2c695.zip |
Catch exception by const& when appropriate (ICE-8632)
Diffstat (limited to 'cpp/test/Ice/interceptor/MyObjectI.cpp')
-rw-r--r-- | cpp/test/Ice/interceptor/MyObjectI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/Ice/interceptor/MyObjectI.cpp b/cpp/test/Ice/interceptor/MyObjectI.cpp index bd31a132d5a..02ca9ca8a6f 100644 --- a/cpp/test/Ice/interceptor/MyObjectI.cpp +++ b/cpp/test/Ice/interceptor/MyObjectI.cpp @@ -114,7 +114,7 @@ MyObjectI::amdAddWithRetryAsync(int x, this_thread::sleep_for(chrono::milliseconds(10)); response(x + y); } - catch(Ice::ResponseSentException&) + catch(const Ice::ResponseSentException&) { } }); |