summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/interceptor/MyObjectI.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2017-06-01 17:49:26 -0400
committerBernard Normier <bernard@zeroc.com>2017-06-01 17:50:24 -0400
commit29aaed3790dc02ae1a9a912c7404036d5a5500bb (patch)
treeed2ae0fc70ff3d00f621f1c6a9a6aba69cebed49 /cpp/test/Ice/interceptor/MyObjectI.cpp
parentUpdate yocto build-platform targetdir (diff)
downloadice-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.cpp10
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();