summaryrefslogtreecommitdiff
path: root/boost/boost.loplugin.patch
blob: 7c35d33034bd6508fc014a6b187d9364847ccf53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- 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;
         }