summaryrefslogtreecommitdiff
path: root/cpp/src/tests/exception_test.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2010-04-21 22:07:04 +0000
committerAndrew Stitcher <astitcher@apache.org>2010-04-21 22:07:04 +0000
commitf6c31465c682f925aafce2f916ab235fbe220aa9 (patch)
tree2d2c6d77130f2337015c66b62df2ec125d211320 /cpp/src/tests/exception_test.cpp
parenteb770805414ab86e96467ece8246c06c90c3c55a (diff)
downloadqpid-python-f6c31465c682f925aafce2f916ab235fbe220aa9.tar.gz
QPID-2527: Remove Thread::id member as its uses are better implemented by comparison
operators. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@936537 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/exception_test.cpp')
-rw-r--r--cpp/src/tests/exception_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/exception_test.cpp b/cpp/src/tests/exception_test.cpp
index 4dac8ee965..3536ffddbe 100644
--- a/cpp/src/tests/exception_test.cpp
+++ b/cpp/src/tests/exception_test.cpp
@@ -74,7 +74,7 @@ struct Catcher : public Runnable {
}
bool join() {
- if (thread.id()) {
+ if (thread) {
thread.join();
thread=Thread();
}