Obsolete: dynamic exception
This commit is contained in:
parent
a14923cea0
commit
51f6a25a04
1 changed files with 2 additions and 1 deletions
|
@ -166,10 +166,11 @@ FGModelMgr::unbind ()
|
|||
|
||||
namespace
|
||||
{
|
||||
double testNan(double val) throw (sg_range_exception)
|
||||
double testNan(double val)
|
||||
{
|
||||
if (SGMisc<double>::isNaN(val))
|
||||
throw sg_range_exception("value is nan");
|
||||
|
||||
return val;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue