diff options
Diffstat (limited to 'cpp/src/tests/exception_test.cpp')
| -rw-r--r-- | cpp/src/tests/exception_test.cpp | 2 |
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(); } |
