X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2Fmodelmgr.cxx;h=449c3bedc8ff0ce5598391ea68c186c8d60a90fb;hb=cff6b2034de866df70a2b29feb3383ee8ccbbef6;hp=0310274bd612c38cf55dbb38ff08a17e0dd9ac26;hpb=ecfbb951ae9d1665edb3673d313ec8027f2444a1;p=flightgear.git diff --git a/src/Model/modelmgr.cxx b/src/Model/modelmgr.cxx index 0310274bd..449c3bedc 100644 --- a/src/Model/modelmgr.cxx +++ b/src/Model/modelmgr.cxx @@ -18,8 +18,6 @@ #include #include -#include - #include #include #include @@ -150,7 +148,7 @@ namespace { double testNan(double val) throw (sg_range_exception) { - if (osg::isNaN(val)) + if (SGMisc::isNaN(val)) throw sg_range_exception("value is nan"); return val; }