diff --git a/include/boost/unordered/detail/foa/table.hpp b/include/boost/unordered/detail/foa/table.hpp index 69d0b219..a155ab5b 100644 --- a/include/boost/unordered/detail/foa/table.hpp +++ b/include/boost/unordered/detail/foa/table.hpp @@ -33,23 +33,13 @@ struct plain_integral operator Integral()const{return n;} void operator=(Integral m){n=m;} - void operator|=(Integral m) - { #if BOOST_WORKAROUND(BOOST_GCC,>=50000 && BOOST_GCC<60000) - n=static_cast(n|m); + void operator|=(Integral m){n=static_cast(n|m);} + void operator&=(Integral m){n=static_cast(n&m);} #else - n|=m; + void operator|=(Integral m){n|=m;} + void operator&=(Integral m){n&=m;} #endif - } - - void operator&=(Integral m) - { -#if BOOST_WORKAROUND(BOOST_GCC,>=50000 && BOOST_GCC<60000) - n=static_cast(n&m); -#else - n&=m; -#endif - } Integral n; };