diff options
author | Bernard Normier <bernard@zeroc.com> | 2017-06-01 17:49:26 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2017-06-01 17:50:24 -0400 |
commit | 29aaed3790dc02ae1a9a912c7404036d5a5500bb (patch) | |
tree | ed2ae0fc70ff3d00f621f1c6a9a6aba69cebed49 /cpp/test/Ice/interceptor/MyObjectI.cpp | |
parent | Update yocto build-platform targetdir (diff) | |
download | ice-29aaed3790dc02ae1a9a912c7404036d5a5500bb.tar.bz2 ice-29aaed3790dc02ae1a9a912c7404036d5a5500bb.tar.xz ice-29aaed3790dc02ae1a9a912c7404036d5a5500bb.zip |
Fixed build failure
Diffstat (limited to 'cpp/test/Ice/interceptor/MyObjectI.cpp')
-rw-r--r-- | cpp/test/Ice/interceptor/MyObjectI.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/test/Ice/interceptor/MyObjectI.cpp b/cpp/test/Ice/interceptor/MyObjectI.cpp index f1c7586334b..bd31a132d5a 100644 --- a/cpp/test/Ice/interceptor/MyObjectI.cpp +++ b/cpp/test/Ice/interceptor/MyObjectI.cpp @@ -103,7 +103,7 @@ void MyObjectI::amdAddWithRetryAsync(int x, int y, function<void(int)> response, - function<void(exception_ptr)>, + function<void(exception_ptr)> error, const Ice::Current& current) { thread t( @@ -130,7 +130,7 @@ MyObjectI::amdAddWithRetryAsync(int x, } catch(...) { - exception(current_exception()); + error(std::current_exception()); } } } @@ -152,7 +152,7 @@ MyObjectI::amdBadAddAsync(int x, } catch(...) { - error(current_exception()); + error(std::current_exception()); } }); t.detach(); @@ -175,7 +175,7 @@ MyObjectI::amdNotExistAddAsync(int x, } catch(...) { - error(current_exception()); + error(std::current_exception()); } }); t.detach(); @@ -198,7 +198,7 @@ MyObjectI::amdBadSystemAddAsync(int x, } catch(...) { - error(current_exception()); + error(std::current_exception()); } }); t.detach(); |