summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/exceptions/TestAMDI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/exceptions/TestAMDI.cpp')
-rw-r--r--cpp/test/Ice/exceptions/TestAMDI.cpp52
1 files changed, 26 insertions, 26 deletions
diff --git a/cpp/test/Ice/exceptions/TestAMDI.cpp b/cpp/test/Ice/exceptions/TestAMDI.cpp
index 46646fbc721..82e55dd7ecd 100644
--- a/cpp/test/Ice/exceptions/TestAMDI.cpp
+++ b/cpp/test/Ice/exceptions/TestAMDI.cpp
@@ -31,7 +31,7 @@ ThrowerI::ThrowerI()
#ifdef ICE_CPP11_MAPPING
void
ThrowerI::shutdown_async(function<void ()> response,
- function<void (const exception_ptr&)>,
+ function<void (exception_ptr)>,
const Ice::Current& current)
{
current.adapter->getCommunicator()->shutdown();
@@ -40,7 +40,7 @@ ThrowerI::shutdown_async(function<void ()> response,
void
ThrowerI::supportsUndeclaredExceptions_async(function<void (bool)> response,
- function<void (const exception_ptr&)>,
+ function<void (exception_ptr)>,
const Ice::Current&)
{
response(true);
@@ -48,7 +48,7 @@ ThrowerI::supportsUndeclaredExceptions_async(function<void (bool)> response,
void
ThrowerI::supportsAssertException_async(function<void (bool)> response,
- function<void (const exception_ptr&)>,
+ function<void (exception_ptr)>,
const Ice::Current&)
{
response(false);
@@ -57,7 +57,7 @@ ThrowerI::supportsAssertException_async(function<void (bool)> response,
void
ThrowerI::throwAasA_async(int a,
function<void ()>,
- function<void (const exception_ptr&)> exception,
+ function<void (exception_ptr)> exception,
const Ice::Current&)
{
try
@@ -75,7 +75,7 @@ ThrowerI::throwAasA_async(int a,
void
ThrowerI::throwAorDasAorD_async(int a,
function<void ()>,
- function<void (const exception_ptr&)> exception,
+ function<void (exception_ptr)> exception,
const Ice::Current&)
{
try
@@ -102,7 +102,7 @@ ThrowerI::throwAorDasAorD_async(int a,
void
ThrowerI::throwBasA_async(int a, int b,
function<void ()>,
- function<void (const exception_ptr&)> exception,
+ function<void (exception_ptr)> exception,
const Ice::Current&)
{
try
@@ -121,7 +121,7 @@ ThrowerI::throwBasA_async(int a, int b,
void
ThrowerI::throwCasA_async(int a, int b, int c,
function<void ()>,
- function<void (const exception_ptr&)> exception,
+ function<void (exception_ptr)> exception,
const Ice::Current&)
{
try
@@ -141,7 +141,7 @@ ThrowerI::throwCasA_async(int a, int b, int c,
void
ThrowerI::throwBasB_async(int a, int b,
function<void ()>,
- function<void (const exception_ptr&)> exception,
+ function<void (exception_ptr)> exception,
const Ice::Current&)
{
try
@@ -160,7 +160,7 @@ ThrowerI::throwBasB_async(int a, int b,
void
ThrowerI::throwCasB_async(int a, int b, int c,
function<void ()>,
- function<void (const exception_ptr&)> exception,
+ function<void (exception_ptr)> exception,
const Ice::Current&)
{
try
@@ -180,7 +180,7 @@ ThrowerI::throwCasB_async(int a, int b, int c,
void
ThrowerI::throwCasC_async(int a, int b, int c,
function<void ()>,
- function<void (const exception_ptr&)> exception,
+ function<void (exception_ptr)> exception,
const Ice::Current&)
{
try
@@ -200,7 +200,7 @@ ThrowerI::throwCasC_async(int a, int b, int c,
void
ThrowerI::throwModA_async(int a, int a2,
function<void ()>,
- function<void (const exception_ptr&)> exception,
+ function<void (exception_ptr)> exception,
const Ice::Current&)
{
Mod::A ex;
@@ -212,7 +212,7 @@ ThrowerI::throwModA_async(int a, int a2,
void
ThrowerI::throwUndeclaredA_async(int a,
function<void ()>,
- function<void (const exception_ptr&)> exception,
+ function<void (exception_ptr)> exception,
const Ice::Current&)
{
try
@@ -230,7 +230,7 @@ ThrowerI::throwUndeclaredA_async(int a,
void
ThrowerI::throwUndeclaredB_async(int a, int b,
function<void ()>,
- function<void (const exception_ptr&)>,
+ function<void (exception_ptr)>,
const Ice::Current&)
{
B ex;
@@ -242,7 +242,7 @@ ThrowerI::throwUndeclaredB_async(int a, int b,
void
ThrowerI::throwUndeclaredC_async(int a, int b, int c,
function<void ()>,
- function<void (const exception_ptr&)> exception,
+ function<void (exception_ptr)> exception,
const Ice::Current&)
{
try
@@ -261,7 +261,7 @@ ThrowerI::throwUndeclaredC_async(int a, int b, int c,
void
ThrowerI::throwLocalException_async(function<void ()>,
- function<void (const exception_ptr&)> exception,
+ function<void (exception_ptr)> exception,
const Ice::Current&)
{
try
@@ -276,7 +276,7 @@ ThrowerI::throwLocalException_async(function<void ()>,
void
ThrowerI::throwNonIceException_async(function<void ()>,
- function<void (const exception_ptr&)> exception,
+ function<void (exception_ptr)> exception,
const Ice::Current&)
{
try
@@ -291,16 +291,16 @@ ThrowerI::throwNonIceException_async(function<void ()>,
void
ThrowerI::throwAssertException_async(function<void ()>,
- function<void (const exception_ptr&)>,
+ function<void (exception_ptr)>,
const Ice::Current&)
{
assert(false); // No supported in C++
}
void
-ThrowerI::throwMemoryLimitException_async(const Ice::ByteSeq&,
+ThrowerI::throwMemoryLimitException_async(ICE_IN(Ice::ByteSeq),
function<void (const Ice::ByteSeq&)> response,
- function<void (const exception_ptr&)>,
+ function<void (exception_ptr)>,
const Ice::Current&)
{
response(Ice::ByteSeq(1024 * 20)); // 20 KB.
@@ -308,7 +308,7 @@ ThrowerI::throwMemoryLimitException_async(const Ice::ByteSeq&,
void
ThrowerI::throwLocalExceptionIdempotent_async(function<void ()>,
- function<void (const exception_ptr&)> exception,
+ function<void (exception_ptr)> exception,
const Ice::Current&)
{
try
@@ -324,7 +324,7 @@ ThrowerI::throwLocalExceptionIdempotent_async(function<void ()>,
void
ThrowerI::throwAfterResponse_async(function<void ()> response,
- function<void (const exception_ptr&)>,
+ function<void (exception_ptr)>,
const Ice::Current&)
{
response();
@@ -334,7 +334,7 @@ ThrowerI::throwAfterResponse_async(function<void ()> response,
void
ThrowerI::throwAfterException_async(function<void ()>,
- function<void (const exception_ptr&)> exception,
+ function<void (exception_ptr)> exception,
const Ice::Current&)
{
try
@@ -350,7 +350,7 @@ ThrowerI::throwAfterException_async(function<void ()>,
void
ThrowerI::throwE_async(function<void ()>,
- function<void (const exception_ptr&)> exception,
+ function<void (exception_ptr)> exception,
const Ice::Current&)
{
try
@@ -365,7 +365,7 @@ ThrowerI::throwE_async(function<void ()>,
void
ThrowerI::throwF_async(function<void ()>,
- function<void (const exception_ptr&)> exception,
+ function<void (exception_ptr)> exception,
const Ice::Current&)
{
try
@@ -380,7 +380,7 @@ ThrowerI::throwF_async(function<void ()>,
void
ThrowerI::throwG_async(function<void ()>,
- function<void (const exception_ptr&)> exception,
+ function<void (exception_ptr)> exception,
const Ice::Current&)
{
try
@@ -399,7 +399,7 @@ ThrowerI::throwG_async(function<void ()>,
void
ThrowerI::throwH_async(function<void ()>,
- function<void (const exception_ptr&)> exception,
+ function<void (exception_ptr)> exception,
const Ice::Current&)
{
try