Update of /cvsroot/luabind/luabind/luabind/luabind
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16177
Modified Files:
Tag: beta7-devel2
object.hpp
Log Message:
ADL workaround is now used on all compilers.
Index: object.hpp
===================================================================
RCS file: /cvsroot/luabind/luabind/luabind/luabind/object.hpp,v
retrieving revision 1.34.2.17
retrieving revision 1.34.2.18
diff -u -d -r1.34.2.17 -r1.34.2.18
--- object.hpp 30 Sep 2005 11:28:42 -0000 1.34.2.17
+++ object.hpp 19 Oct 2005 11:49:02 -0000 1.34.2.18
@@ -410,10 +410,9 @@
handle m_key;
};
-#if defined(__GNUC__) || BOOST_WORKAROUND(BOOST_MSVC, == 1300)
- // Needed because of GCC's and VC7's strange ADL
+// Needed because of some strange ADL issues.
-# define LUABIND_OPERATOR_ADL_WKND(op) \
+#define LUABIND_OPERATOR_ADL_WKND(op) \
inline bool operator op( \
basic_iterator<basic_access> const& x \
, basic_iterator<basic_access> const& y) \
@@ -431,10 +430,8 @@
LUABIND_OPERATOR_ADL_WKND(==)
LUABIND_OPERATOR_ADL_WKND(!=)
-# undef LUABIND_OPERATOR_ADL_WKND
-
-#endif
-
+#undef LUABIND_OPERATOR_ADL_WKND
+
} // namespace detail
namespace adl
|