From 8c0abaa81966bca4a3506a0bdf934e8888f42621 Mon Sep 17 00:00:00 2001 From: Daniel Wallin Date: Mon, 6 Oct 2008 21:22:00 +0200 Subject: [PATCH] Use compute_score() instead of match(). This replaces all uses of the old match() from signature_match.hpp with the new compute_score() function. --- luabind/class.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luabind/class.hpp b/luabind/class.hpp index 37b13fd..bb8c8ca 100644 --- a/luabind/class.hpp +++ b/luabind/class.hpp @@ -98,7 +98,7 @@ #include #include #include -#include +#include #include #include #include @@ -239,7 +239,7 @@ namespace luabind int operator()(lua_State* L) const { - return match(fn, L, (Class*)0, (Policies*)0); + return compute_score(L, deduce_signature(fn, (Class*)0), Policies()); } mem_fn_matcher(Fn fn_) -- 2.11.4.GIT