From 7053111fdfe8500788f013917f9f1f5f41b97a18 Mon Sep 17 00:00:00 2001 From: satoren Date: Wed, 16 Nov 2016 19:24:38 +0900 Subject: [PATCH] forgot typename --- include/kaguya/object.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/kaguya/object.hpp b/include/kaguya/object.hpp index 0f22e3d..c0664cd 100644 --- a/include/kaguya/object.hpp +++ b/include/kaguya/object.hpp @@ -768,7 +768,7 @@ namespace kaguya template To get(lua_State* l, int index) { - typedef optional::get_type> opt_type; + typedef optional::get_type> opt_type; if (auto opt = lua_type_traits::get(l, index)) { return *opt;