We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a68e5c3 commit 7053111Copy full SHA for 7053111
include/kaguya/object.hpp
@@ -768,7 +768,7 @@ namespace kaguya
768
template<class To, class From, class... Remain>
769
To get(lua_State* l, int index)
770
{
771
- typedef optional<lua_type_traits<From>::get_type> opt_type;
+ typedef optional<typename lua_type_traits<From>::get_type> opt_type;
772
if (auto opt = lua_type_traits<opt_type>::get(l, index))
773
774
return *opt;
0 commit comments