Update of /cvsroot/luabind/luabind/luabind/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10070/luabind/test
Modified Files:
Tag: luabind_rc_0_7
test_held_type.cpp test_lua_classes.cpp
Log Message:
fixed adl issue
Index: test_held_type.cpp
===================================================================
RCS file: /cvsroot/luabind/luabind/luabind/test/test_held_type.cpp,v
retrieving revision 1.30
retrieving revision 1.30.2.1
diff -u -d -r1.30 -r1.30.2.1
--- test_held_type.cpp 28 Nov 2005 20:55:34 -0000 1.30
+++ test_held_type.cpp 24 Jan 2006 18:20:24 -0000 1.30.2.1
@@ -27,11 +27,13 @@
namespace luabind {
+#ifdef BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
template<class T>
- T* get_pointer(boost::shared_ptr<T>& p) { return p.get(); }
+ T* get_pointer(boost::shared_ptr<T> const& p) { return p.get(); }
+#endif
template<class A>
- boost::shared_ptr<const A>* get_const_holder(boost::shared_ptr<A>*)
+ boost::shared_ptr<const A>* get_const_holder(boost::shared_ptr<A> const*)
{
return 0;
}
Index: test_lua_classes.cpp
===================================================================
RCS file: /cvsroot/luabind/luabind/luabind/test/test_lua_classes.cpp,v
retrieving revision 1.27
retrieving revision 1.27.2.1
diff -u -d -r1.27 -r1.27.2.1
--- test_lua_classes.cpp 28 Nov 2005 20:55:34 -0000 1.27
+++ test_lua_classes.cpp 24 Jan 2006 18:20:24 -0000 1.27.2.1
@@ -29,8 +29,10 @@
namespace luabind {
+#ifdef BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
template<class T>
- T* get_pointer(boost::shared_ptr<T>& p) { return p.get(); }
+ T* get_pointer(boost::shared_ptr<T> const& p) { return p.get(); }
+#endif
template<class A>
boost::shared_ptr<const A>* get_const_holder(boost::shared_ptr<A>*)
|