Skip to content

Commit

Permalink
forgot typename
Browse files Browse the repository at this point in the history
  • Loading branch information
satoren committed Nov 16, 2016
1 parent a68e5c3 commit 7053111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/kaguya/object.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ namespace kaguya
template<class To, class From, class... Remain>
To get(lua_State* l, int index)
{
typedef optional<lua_type_traits<From>::get_type> opt_type;
typedef optional<typename lua_type_traits<From>::get_type> opt_type;
if (auto opt = lua_type_traits<opt_type>::get(l, index))
{
return *opt;
Expand Down

0 comments on commit 7053111

Please sign in to comment.