Explorar o código

removed unnecessary #ifdef: FPEnvironment_DUMMY is sufficient for strToFloat

Guenter Obiltschnig %!s(int64=13) %!d(string=hai) anos
pai
achega
efa3cd1b32
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  1. 0 5
      Foundation/include/Poco/NumericString.h

+ 0 - 5
Foundation/include/Poco/NumericString.h

@@ -198,8 +198,6 @@ bool strToInt(const std::string& str, I& result, short base, char thSep = ',')
 }
 
 
-#ifndef POCO_NO_FPENVIRONMENT
-
 namespace Impl {
 
 static char DUMMY_EXP_UNDERFLOW = 0; // dummy default val
@@ -359,9 +357,6 @@ bool strToFloat (const std::string& s, F& result, char& eu = Impl::DUMMY_EXP_UND
 }
 
 
-#endif // POCO_NO_FPENVIRONMENT
-
-
 } // namespace Poco