Skip to content

Commit be0d05d

Browse files
svivanov72mstembera
authored andcommitted
Do not define increment operators on Value, Depth and Direction
These operators are never used and do not make sense for these types. No functional change.
1 parent 47d77c0 commit be0d05d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/types.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,6 @@ inline T& operator--(T& d) { return d = T(int(d) - 1); }
291291

292292
#define ENABLE_FULL_OPERATORS_ON(T) \
293293
ENABLE_BASE_OPERATORS_ON(T) \
294-
ENABLE_INCR_OPERATORS_ON(T) \
295294
constexpr T operator*(int i, T d) { return T(i * int(d)); } \
296295
constexpr T operator*(T d, int i) { return T(int(d) * i); } \
297296
constexpr T operator/(T d, int i) { return T(int(d) / i); } \

0 commit comments

Comments
 (0)