summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2015-02-06 18:26:15 +0000
committerStephen D. Huston <shuston@apache.org>2015-02-06 18:26:15 +0000
commit70fb857aae1737f31e0eb948f48d8e97332a660a (patch)
treee9962a336df9ed38bd9d06c5a5f11f1c5062978e /qpid/cpp/src
parentc856605f7cff59acd9a20cd17bc8732eb1057c6d (diff)
downloadqpid-python-70fb857aae1737f31e0eb948f48d8e97332a660a.tar.gz
Fix operator bool() to work with Visual Studio 2013
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1657914 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rwxr-xr-xqpid/cpp/src/qpid/sys/windows/Thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/sys/windows/Thread.cpp b/qpid/cpp/src/qpid/sys/windows/Thread.cpp
index b342c9da1d..8034680664 100755
--- a/qpid/cpp/src/qpid/sys/windows/Thread.cpp
+++ b/qpid/cpp/src/qpid/sys/windows/Thread.cpp
@@ -224,7 +224,7 @@ Thread::Thread(Runnable* runnable) : impl(ThreadPrivate::createThread(runnable))
Thread::Thread(Runnable& runnable) : impl(ThreadPrivate::createThread(&runnable)) {}
Thread::operator bool() {
- return impl;
+ return !!impl;
}
bool Thread::operator==(const Thread& t) const {