summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/BLua.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/BLua.h b/include/BLua.h
index 28c346e..6cfbd2b 100644
--- a/include/BLua.h
+++ b/include/BLua.h
@@ -355,7 +355,7 @@ class LuaHelpers : public Base {
}
};
-template<class T> T * lua_recast(Lua * L, int n = 1) { return L->recast(n); }
+template<class T> T * lua_recast(Lua * L, int n = 1) { return L->recast<T>(n); }
/*******************************\
|** Let's have a sample of use **|