added missing op to plain_integral

This commit is contained in:
joaquintides authored and Christian Mazakas committed 2023-03-20 12:43:56 -07:00
1 parent 0590e3bf8c
commit c1b63f68c8
1 file changed
+9
@@ -42,6 +42,15 @@ struct plain_integral
#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;
};