From c083456c55b531e340d1163b52c240d42440c970 Mon Sep 17 00:00:00 2001 From: Daniel Wallin Date: Wed, 17 Dec 2003 09:14:10 +0000 Subject: [PATCH] fixed ambiguity caused by adl --- luabind/detail/ref.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luabind/detail/ref.hpp b/luabind/detail/ref.hpp index 810efa4..d626f03 100644 --- a/luabind/detail/ref.hpp +++ b/luabind/detail/ref.hpp @@ -152,11 +152,11 @@ namespace luabind { namespace detail lua_rawseti(L, t, FREELIST_REF); /* (t[FREELIST_REF] = t[ref]) */ } else { /* no free elements */ - ref = luaL_getn(L, t); + ref = ::luabind::detail::luaL_getn(L, t); if (ref < RESERVED_REFS) ref = RESERVED_REFS; /* skip reserved references */ ref++; /* create new reference */ - luaL_setn(L, t, ref); + ::luabind::detail::luaL_setn(L, t, ref); } lua_rawseti(L, t, ref); return ref; -- 2.11.4.GIT