Skip to content

Instantly share code, notes, and snippets.

@tdsmith
Created December 22, 2014 03:31
Show Gist options
  • Select an option

  • Save tdsmith/a75cb36e1a316e3a8b58 to your computer and use it in GitHub Desktop.

Select an option

Save tdsmith/a75cb36e1a316e3a8b58 to your computer and use it in GitHub Desktop.
diff --git a/luabind/object.hpp b/luabind/object.hpp
index f7b7ca5..5bb3fc3 100644
--- a/luabind/object.hpp
+++ b/luabind/object.hpp
@@ -536,6 +536,7 @@ namespace detail
handle m_key;
};
+#if BOOST_VERSION < 105700
// Needed because of some strange ADL issues.
#define LUABIND_OPERATOR_ADL_WKND(op) \\
@@ -557,6 +558,8 @@ namespace detail
LUABIND_OPERATOR_ADL_WKND(!=)
#undef LUABIND_OPERATOR_ADL_WKND
+
+#endif // BOOST_VERSION < 105700
} // namespace detail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment