diff options
author | Robin Gareus <robin@gareus.org> | 2014-10-19 19:54:01 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-10-19 23:15:13 +0200 |
commit | ffde2fb5f982856afd9a569d9571b954032f0894 (patch) | |
tree | e17db6bd88f47bf87b632a8842d97b1193338319 /gtk2_ardour/port_matrix.cc | |
parent | 892909b05299c2d974429d1d84c2e09082c39bf8 (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 'gtk2_ardour/port_matrix.cc')
-rw-r--r-- | gtk2_ardour/port_matrix.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/port_matrix.cc b/gtk2_ardour/port_matrix.cc index aa1c853ed8..9a22ed97e6 100644 --- a/gtk2_ardour/port_matrix.cc +++ b/gtk2_ardour/port_matrix.cc @@ -708,7 +708,7 @@ PortMatrix::io_from_bundle (boost::shared_ptr<Bundle> b) const bool PortMatrix::can_add_channels (boost::shared_ptr<Bundle> b) const { - return io_from_bundle (b); + return io_from_bundle (b) != 0; } void @@ -731,7 +731,7 @@ PortMatrix::add_channel (boost::shared_ptr<Bundle> b, DataType t) bool PortMatrix::can_remove_channels (boost::shared_ptr<Bundle> b) const { - return io_from_bundle (b); + return io_from_bundle (b) != 0; } void |