stylistic

This commit is contained in:
joaquintides authored and Christian Mazakas committed 2023-03-20 12:43:56 -07:00
1 parent 4569c1bec0
commit 447306bfb9
1 file changed
+4 -14
+4 -14
View File
@@ -33,23 +33,13 @@ struct plain_integral
operator Integral()const{return n;} operator Integral()const{return n;}
void operator=(Integral m){n=m;} void operator=(Integral m){n=m;}
void operator|=(Integral m)
{
#if BOOST_WORKAROUND(BOOST_GCC,>=50000 && BOOST_GCC<60000) #if BOOST_WORKAROUND(BOOST_GCC,>=50000 && BOOST_GCC<60000)
n=static_cast<Integral>(n|m); void operator|=(Integral m){n=static_cast<Integral>(n|m);}
void operator&=(Integral m){n=static_cast<Integral>(n&m);}
#else #else
n|=m; void operator|=(Integral m){n|=m;}
void operator&=(Integral m){n&=m;}
#endif #endif
}
void operator&=(Integral m)
{
#if BOOST_WORKAROUND(BOOST_GCC,>=50000 && BOOST_GCC<60000)
n=static_cast<Integral>(n&m);
#else
n&=m;
#endif
}
Integral n; Integral n;
}; };