Skip to content

Commit

Permalink
Don't leave our macros defined when they're for internal use.
Browse files Browse the repository at this point in the history
  • Loading branch information
rpavlik authored and Oberon00 committed Jun 29, 2013
1 parent d8005ad commit 44a47e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions luabind/operator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ namespace luabind {
LUABIND_BINARY_OPERATOR(le, <=)
LUABIND_BINARY_OPERATOR(eq, ==)

#undef LUABIND_UNARY_OPERATOR
#undef LUABIND_BINARY_OPERATOR

#define LUABIND_UNARY_OPERATOR(name_, op, fn) \
namespace operators { \
Expand Down Expand Up @@ -343,7 +343,7 @@ namespace luabind {
LUABIND_UNARY_OPERATOR(tostring, tostring_operator, tostring)
LUABIND_UNARY_OPERATOR(unm, -, operator-)

#undef LUABIND_BINARY_OPERATOR
#undef LUABIND_UNARY_OPERATOR

// defined in operator.cpp
extern LUABIND_API self_type self;
Expand Down

0 comments on commit 44a47e4

Please sign in to comment.