Skip to content

Commit a1a690a

Browse files
committed
Fix const address of operator for structs
1 parent af7cc6d commit a1a690a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

code/include/rlbox_struct_support.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ struct markerStruct
138138
MaybeConst) \
139139
\
140140
inline tainted<MaybeConst T*, T_Sbx> \
141-
operator&() const noexcept \
141+
operator&() MaybeConst noexcept \
142142
{ \
143143
auto ref_cast = \
144144
reinterpret_cast<MaybeConst T*>(&get_sandbox_value_ref()); \

0 commit comments

Comments
 (0)