summaryrefslogtreecommitdiffstats
path: root/src/libs
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-06-09 21:07:37 +0000
committerDavid Robillard <d@drobilla.net>2008-06-09 21:07:37 +0000
commit359591c66d1738f311afbc4909df7d52621ab25b (patch)
tree5a814a38e19bc9184ad7e54fd6a03a48b8055e5c /src/libs
parent0a19e395ef531bab68f4772618fee7614ef11e26 (diff)
downloadingen-359591c66d1738f311afbc4909df7d52621ab25b.tar.gz
ingen-359591c66d1738f311afbc4909df7d52621ab25b.tar.bz2
ingen-359591c66d1738f311afbc4909df7d52621ab25b.zip
Fix more boost::optional stuff.
git-svn-id: http://svn.drobilla.net/lad/ingen@1262 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs')
-rw-r--r--src/libs/engine/LADSPANode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/engine/LADSPANode.cpp b/src/libs/engine/LADSPANode.cpp
index ae35cd43..dd3ce0c2 100644
--- a/src/libs/engine/LADSPANode.cpp
+++ b/src/libs/engine/LADSPANode.cpp
@@ -300,7 +300,7 @@ LADSPANode::get_port_limits(unsigned long port_index,
* float greater than 1.0. So, if lower is < FLT_EPSILON, it will be 1.0
* and the logarithmic control will have a base of 1 and thus not change
*/
- if (lower < FLT_EPSILON) lower = FLT_EPSILON;
+ if (lower.get() < FLT_EPSILON) lower = FLT_EPSILON;
}