174e24ffff
Change-Id: Ib6aa36e296dfc1237463c4257f7ea1bd1fe72a1b Reviewed-on: https://gerrit.libreoffice.org/6282 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
19 lines
656 B
Diff
19 lines
656 B
Diff
--- 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<T>::quiet_NaN();
|
|
else value = (boost::math::changesign) (std::numeric_limits<T>::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<T>::infinity());
|
|
return true;
|
|
}
|
|
+ }
|
|
|
|
return false;
|
|
}
|