Skip to content

Commit ba8a24e

Browse files
committed
Fix post decrement of tainted wrappers types
1 parent 945509a commit ba8a24e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/include/rlbox.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ class tainted_base_impl
217217
inline constexpr T_Wrap<T, T_Sbx> operator opSymbol##opSymbol(int) \
218218
{ \
219219
tainted<T, T_Sbx> ret = impl(); \
220-
operator++(); \
220+
operator opSymbol##opSymbol(); \
221221
return ret; \
222222
} \
223223
RLBOX_REQUIRE_SEMI_COLON

0 commit comments

Comments
 (0)