From 77f9cf9f633aa5f37d6b61ef85430591e4279120 Mon Sep 17 00:00:00 2001 From: Kemmler Date: Thu, 8 Jan 2015 09:49:46 -0500 Subject: [PATCH] Work-around for "strange ADL issues" not needed if using Boost 1.57.0 (was required through 1.56.0, thus test for less than 1.57.0). Tested on VS2013. --- luabind/luabind/object.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/luabind/luabind/object.hpp b/luabind/luabind/object.hpp index ea12bf272..0feb7bd48 100644 --- a/luabind/luabind/object.hpp +++ b/luabind/luabind/object.hpp @@ -537,6 +537,7 @@ namespace detail }; // Needed because of some strange ADL issues. +#if BOOST_VERSION < 105700 #define LUABIND_OPERATOR_ADL_WKND(op) \ inline bool operator op( \ @@ -557,7 +558,8 @@ namespace detail LUABIND_OPERATOR_ADL_WKND(!=) #undef LUABIND_OPERATOR_ADL_WKND - +#endif + } // namespace detail namespace adl