mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-28 15:41:22 +01:00
remove std from copysignf and copysign
"copysign* is C99/C++ TR1, apparently still not in std namespace with gcc 4.7. Remove std:: in front of it and see if it helps. If you provide a patch, we'll test and include it for future releases."
This commit is contained in:
@@ -131,13 +131,13 @@ inline bool FPEnvironmentImpl::isNaNImpl(long double value)
|
||||
|
||||
inline float FPEnvironmentImpl::copySignImpl(float target, float source)
|
||||
{
|
||||
return std::copysignf(target, source);
|
||||
return copysignf(target, source);
|
||||
}
|
||||
|
||||
|
||||
inline double FPEnvironmentImpl::copySignImpl(double target, double source)
|
||||
{
|
||||
return std::copysign(target, source);
|
||||
return copysign(target, source);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user