31 lines
864 B
Plaintext
31 lines
864 B
Plaintext
$OpenBSD: patch-src_luabind_luabind_object_hpp,v 1.1 2015/06/29 08:04:42 jasper Exp $
|
|
|
|
From 76411d4dd3d82abaa4732cf7160e6a11ab79ac3e Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Ga=C3=ABtan=20Lehmann?= <gaetan.lehmann@gmail.com>
|
|
Date: Wed, 28 Jan 2015 09:46:14 +0100
|
|
Subject: [PATCH] Fixed luabind compilation when using boost 1.57
|
|
|
|
--- src/luabind/luabind/object.hpp.orig Thu Sep 4 21:17:54 2014
|
|
+++ src/luabind/luabind/object.hpp Mon Jun 29 10:03:44 2015
|
|
@@ -546,6 +546,9 @@ namespace detail
|
|
handle m_key;
|
|
};
|
|
|
|
+// Not used anymore with boost 1.57
|
|
+#if BOOST_VERSION < 105700
|
|
+
|
|
// Needed because of some strange ADL issues.
|
|
|
|
#define LUABIND_OPERATOR_ADL_WKND(op) \
|
|
@@ -567,7 +570,9 @@ namespace detail
|
|
LUABIND_OPERATOR_ADL_WKND(!=)
|
|
|
|
#undef LUABIND_OPERATOR_ADL_WKND
|
|
-
|
|
+
|
|
+#endif // BOOST_VERSION < 105700
|
|
+
|
|
} // namespace detail
|
|
|
|
namespace adl
|