Skip to content

Commit 44a47e4

Browse files
rpavlikOberon00
authored andcommitted
Don't leave our macros defined when they're for internal use.
1 parent d8005ad commit 44a47e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

luabind/operator.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ namespace luabind {
293293
LUABIND_BINARY_OPERATOR(le, <=)
294294
LUABIND_BINARY_OPERATOR(eq, ==)
295295

296-
#undef LUABIND_UNARY_OPERATOR
296+
#undef LUABIND_BINARY_OPERATOR
297297

298298
#define LUABIND_UNARY_OPERATOR(name_, op, fn) \
299299
namespace operators { \
@@ -343,7 +343,7 @@ namespace luabind {
343343
LUABIND_UNARY_OPERATOR(tostring, tostring_operator, tostring)
344344
LUABIND_UNARY_OPERATOR(unm, -, operator-)
345345

346-
#undef LUABIND_BINARY_OPERATOR
346+
#undef LUABIND_UNARY_OPERATOR
347347

348348
// defined in operator.cpp
349349
extern LUABIND_API self_type self;

0 commit comments

Comments
 (0)