summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/interceptor/MyObjectI.cpp
diff options
context:
space:
mode:
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();