fix indent

This commit is contained in:
Corentin Le Molgat
2025-05-19 11:58:23 +02:00
parent 4177426b57
commit 243365417c
2 changed files with 9 additions and 9 deletions

View File

@@ -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(-=);

View File

@@ -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; \
} \