mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-28 10:10:59 -06:00
[bgufix][femcompat] remove operator << and operator >> for __float128
that accidentally came into the code again.
This commit is contained in:
parent
1d573e02d5
commit
3a9b7dc7b5
@ -97,34 +97,6 @@ namespace Dune
|
||||
}
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
//
|
||||
// operator << and operator >> for __float128
|
||||
//
|
||||
////////////////////////////////////////////////////////////
|
||||
#if HAVE_QUAD
|
||||
template< class Traits >
|
||||
inline OutStreamInterface< Traits > &
|
||||
operator<< ( OutStreamInterface< Traits >& out,
|
||||
const __float128 value )
|
||||
{
|
||||
double val = double( value );
|
||||
out.writeDouble( val );
|
||||
return out;
|
||||
}
|
||||
|
||||
template< class Traits >
|
||||
inline InStreamInterface< Traits > &
|
||||
operator>> ( InStreamInterface< Traits >& in,
|
||||
__float128& value )
|
||||
{
|
||||
double val;
|
||||
in.readDouble( val );
|
||||
value = val;
|
||||
return in;
|
||||
}
|
||||
#endif
|
||||
|
||||
} // namespace Fem
|
||||
|
||||
} // end namespace Dune
|
||||
|
Loading…
Reference in New Issue
Block a user