fix indent
This commit is contained in:
@@ -250,14 +250,14 @@ class IntType {
|
||||
// -- ASSIGNMENT OPERATORS ---------------------------------------------------
|
||||
// We support the following assignment operators: =, +=, -=, *=, /=, <<=, >>=
|
||||
// and %= for both ThisType and ValueType.
|
||||
#define INT_TYPE_ASSIGNMENT_OP(op) \
|
||||
ThisType& operator op(const ThisType & arg_value) { \
|
||||
value_ op arg_value.value(); \
|
||||
return *this; \
|
||||
} \
|
||||
ThisType& operator op(ValueType arg_value) { \
|
||||
value_ op arg_value; \
|
||||
return *this; \
|
||||
#define INT_TYPE_ASSIGNMENT_OP(op) \
|
||||
ThisType& operator op(const ThisType& arg_value) { \
|
||||
value_ op arg_value.value(); \
|
||||
return *this; \
|
||||
} \
|
||||
ThisType& operator op(ValueType arg_value) { \
|
||||
value_ op arg_value; \
|
||||
return *this; \
|
||||
}
|
||||
INT_TYPE_ASSIGNMENT_OP(+=);
|
||||
INT_TYPE_ASSIGNMENT_OP(-=);
|
||||
|
||||
@@ -96,7 +96,7 @@ namespace operations_research {
|
||||
// index and int64_t type.
|
||||
|
||||
#define STRONG_ASSIGNMENT_OP(StrongClass, IntType, op) \
|
||||
ThisType& operator op(const ThisType & arg_value) { \
|
||||
ThisType& operator op(const ThisType& arg_value) { \
|
||||
value_ op arg_value.value(); \
|
||||
return *this; \
|
||||
} \
|
||||
|
||||
Reference in New Issue
Block a user