diff options
Diffstat (limited to 'qpid/cpp/src/tests/exception_test.cpp')
-rw-r--r-- | qpid/cpp/src/tests/exception_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/exception_test.cpp b/qpid/cpp/src/tests/exception_test.cpp index 4dac8ee965..3536ffddbe 100644 --- a/qpid/cpp/src/tests/exception_test.cpp +++ b/qpid/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(); } |