Skip to content

Commit

Permalink
Compilation fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaka committed Dec 30, 2013
1 parent dfe9b6c commit 0e302f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/LuaContext.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2164,7 +2164,7 @@ struct LuaContext::Reader<LuaContext::LuaFunctionCaller<TRetValue (TParameters..
-> RetType
{
if (!test(context, index))
throw WrongTypeException{lua_typename(context.mState, lua_type(context.mState, index)), typeid(Function)};
throw WrongTypeException{lua_typename(context.mState, lua_type(context.mState, index)), typeid(RetType)};
return read(context, index);
}
};
Expand Down

0 comments on commit 0e302f4

Please sign in to comment.