Simplify the GNUC versions tests

This commit is contained in:
Maxime Gimeno 2021-05-12 15:45:07 +02:00 committed by Laurent Rineau
parent edfe67a7d3
commit 45b73adf2c
1 changed files with 1 additions and 9 deletions

View File

@ -44,20 +44,12 @@ public:
using Base::f;
protected:
#if defined(__POWERPC__) && \
defined(__GNUC__) && (__GNUC__ == 3 ) && (__GNUC_MINOR__ == 4)
// hack to avoid nasty warning for G++ 3.4 on Darwin
static FT OFFSET()
{
return FT(10000);
}
#else
static const FT& OFFSET()
{
static const FT offset_(10000);
return offset_;
}
#endif
template< class Stream >
inline