summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/properties.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-10-19 19:54:01 +0200
committerRobin Gareus <robin@gareus.org>2014-10-19 23:15:13 +0200
commitffde2fb5f982856afd9a569d9571b954032f0894 (patch)
treee17db6bd88f47bf87b632a8842d97b1193338319 /libs/pbd/pbd/properties.h
parent892909b05299c2d974429d1d84c2e09082c39bf8 (diff)
OS 10.10 compile fixes
* fix clang pickiness regarding boolean * ignore ‘verify’ macro * tested with Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
Diffstat (limited to 'libs/pbd/pbd/properties.h')
-rw-r--r--libs/pbd/pbd/properties.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/pbd/pbd/properties.h b/libs/pbd/pbd/properties.h
index 70d18db4c7..684fc37ffe 100644
--- a/libs/pbd/pbd/properties.h
+++ b/libs/pbd/pbd/properties.h
@@ -443,7 +443,7 @@ public:
}
operator bool () const {
- return _current;
+ return _current ? true : false;
}
protected: