summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/interceptor/MyObjectI.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2019-07-15 05:14:32 -0400
committerBenoit Foucher <benoit@zeroc.com>2019-07-15 11:14:32 +0200
commit2e60ce8af12b12a8c1aed18c7bea2413016d4004 (patch)
tree4f5f578bb99ea4713cbc1d0e57346b6036c70f10 /cpp/test/Ice/interceptor/MyObjectI.cpp
parentTest script minor warning fixes (diff)
downloadice-2e60ce8af12b12a8c1aed18c7bea2413016d4004.tar.bz2
ice-2e60ce8af12b12a8c1aed18c7bea2413016d4004.tar.xz
ice-2e60ce8af12b12a8c1aed18c7bea2413016d4004.zip
Port to AIX with g++, xlC_r and xlclang++ (#434)
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 b21c01c7a9b..8604cd7007f 100644
--- a/cpp/test/Ice/interceptor/MyObjectI.cpp
+++ b/cpp/test/Ice/interceptor/MyObjectI.cpp
@@ -85,7 +85,7 @@ MyObjectI::amdAddAsync(int x,
function<void(exception_ptr)>,
const Ice::Current&)
{
- thread t(
+ std::thread t(
[x, y, response]()
{
this_thread::sleep_for(chrono::milliseconds(10));
@@ -101,7 +101,7 @@ MyObjectI::amdAddWithRetryAsync(int x,
function<void(exception_ptr)> error,
const Ice::Current& current)
{
- thread t(
+ std::thread t(
[x, y, response]()
{
try
@@ -137,7 +137,7 @@ MyObjectI::amdBadAddAsync(int,
function<void(exception_ptr)> error,
const Ice::Current&)
{
- thread t(
+ std::thread t(
[error]()
{
this_thread::sleep_for(chrono::milliseconds(10));
@@ -160,7 +160,7 @@ MyObjectI::amdNotExistAddAsync(int,
function<void(exception_ptr)> error,
const Ice::Current&)
{
- thread t(
+ std::thread t(
[error]()
{
this_thread::sleep_for(chrono::milliseconds(10));
@@ -183,7 +183,7 @@ MyObjectI::amdBadSystemAddAsync(int,
function<void(exception_ptr)> error,
const Ice::Current&)
{
- thread t(
+ std::thread t(
[error]()
{
this_thread::sleep_for(chrono::milliseconds(10));