diff --git a/lib/awpmd/ivutils/include/wavepacket.h b/lib/awpmd/ivutils/include/wavepacket.h index 5a787f0809..24e849c880 100644 --- a/lib/awpmd/ivutils/include/wavepacket.h +++ b/lib/awpmd/ivutils/include/wavepacket.h @@ -23,7 +23,7 @@ class WavePacket; ///\en Template for v=der operation in \ref Wavepacket::int2phys_der() template -struct eq_second : public binary_function { +struct eq_second { Type operator()(const Type& /* _Left */, const Type& _Right) const{ return _Right; } @@ -31,7 +31,7 @@ struct eq_second : public binary_function { ///\en Template for v=-der operation in \ref Wavepacket::int2phys_der() template -struct eq_minus_second : public binary_function { +struct eq_minus_second { Type operator()(const Type& /* _Left */, const Type& _Right) const{ return -_Right; }