--- foo/foo/foo/boost/lexical_cast.hpp +++ foo/foo/foo/boost/lexical_cast.hpp @@ -1016,7 +1016,7 @@ if( !has_minus ) value = std::numeric_limits::quiet_NaN(); else value = (boost::math::changesign) (std::numeric_limits::quiet_NaN()); return true; - } else + } else { if (( /* 'INF' or 'inf' */ end-begin==3 && @@ -1031,6 +1031,7 @@ else value = (boost::math::changesign) (std::numeric_limits::infinity()); return true; } + } return false; }