From 359591c66d1738f311afbc4909df7d52621ab25b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 9 Jun 2008 21:07:37 +0000 Subject: Fix more boost::optional stuff. git-svn-id: http://svn.drobilla.net/lad/ingen@1262 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/LADSPANode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libs/engine') 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; } -- cgit v1.2.1