summaryrefslogtreecommitdiff
path: root/cpp/test/IceUtil/thread/StartTest.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2018-10-26 17:17:11 -0400
committerBernard Normier <bernard@zeroc.com>2018-10-26 17:17:11 -0400
commit42c905a3ca29a1e911e7def9c2d9d9b8e95383cd (patch)
tree1b704d084e39c0acd15859f2dd258eff7aaa7fc6 /cpp/test/IceUtil/thread/StartTest.cpp
parentDo not use time.clock() with Python >= 3.3 as it is deprecated (diff)
downloadice-42c905a3ca29a1e911e7def9c2d9d9b8e95383cd.tar.bz2
ice-42c905a3ca29a1e911e7def9c2d9d9b8e95383cd.tar.xz
ice-42c905a3ca29a1e911e7def9c2d9d9b8e95383cd.zip
Extra C++ warning flags with clang and g++.
Fixes 223.
Diffstat (limited to 'cpp/test/IceUtil/thread/StartTest.cpp')
-rw-r--r--cpp/test/IceUtil/thread/StartTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/IceUtil/thread/StartTest.cpp b/cpp/test/IceUtil/thread/StartTest.cpp
index eef50038b47..6f32a98bf41 100644
--- a/cpp/test/IceUtil/thread/StartTest.cpp
+++ b/cpp/test/IceUtil/thread/StartTest.cpp
@@ -64,8 +64,8 @@ StartTest::run()
{
for(int j = 0; j < 40; j++)
{
- Thread* t = new StartTestThread;
- t->start().detach();
+ Thread* thread = new StartTestThread;
+ thread->start().detach();
}
ThreadControl::sleep(Time::milliSeconds(5));
}