Rename BOOST_OPS_CONSTEXPR to BOOST_OPERATORS_CONSTEXPR

This commit is contained in:
Glen Fernandes
2020-04-12 12:55:21 -04:00
parent 9a4cff038b
commit 5da340a2a4
2 changed files with 31 additions and 31 deletions

View File

@@ -17,15 +17,15 @@ namespace {
class Value
: boost::operators<Value> {
public:
BOOST_OPS_CONSTEXPR explicit Value(int v)
BOOST_OPERATORS_CONSTEXPR explicit Value(int v)
: v_(v) { }
BOOST_OPS_CONSTEXPR bool
BOOST_OPERATORS_CONSTEXPR bool
operator<(const Value& x) const {
return v_ < x.v_;
}
BOOST_OPS_CONSTEXPR bool
BOOST_OPERATORS_CONSTEXPR bool
operator==(const Value& x) const {
return v_ == x.v_;
}