Skip to content

Commit 7053111

Browse files
committed
forgot typename
1 parent a68e5c3 commit 7053111

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/kaguya/object.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ namespace kaguya
768768
template<class To, class From, class... Remain>
769769
To get(lua_State* l, int index)
770770
{
771-
typedef optional<lua_type_traits<From>::get_type> opt_type;
771+
typedef optional<typename lua_type_traits<From>::get_type> opt_type;
772772
if (auto opt = lua_type_traits<opt_type>::get(l, index))
773773
{
774774
return *opt;

0 commit comments

Comments
 (0)