diff --git a/luabind/operator.hpp b/luabind/operator.hpp index c15a69e5..362b2408 100755 --- a/luabind/operator.hpp +++ b/luabind/operator.hpp @@ -288,6 +288,7 @@ namespace luabind { LUABIND_BINARY_OPERATOR(sub, -) LUABIND_BINARY_OPERATOR(mul, *) LUABIND_BINARY_OPERATOR(div, /) + LUABIND_BINARY_OPERATOR(mod, %) LUABIND_BINARY_OPERATOR(pow, ^) LUABIND_BINARY_OPERATOR(lt, <) LUABIND_BINARY_OPERATOR(le, <=)