From 7efc577eea908a10d07950150bd6e9184e769db3 Mon Sep 17 00:00:00 2001 From: ThePhD Date: Fri, 25 Mar 2016 05:43:37 -0400 Subject: [PATCH] Meow. --- sol/stack_probe.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sol/stack_probe.hpp b/sol/stack_probe.hpp index ca190753..d1d150e5 100644 --- a/sol/stack_probe.hpp +++ b/sol/stack_probe.hpp @@ -45,13 +45,13 @@ struct probe_field_getter, b, C> { return probe(!check(L), sofar); } - template - probe apply(std::index_sequence, int sofar, lua_State* L, Keys&& keys, int tableindex) { + template + probe apply(std::index_sequence, int sofar, lua_State* L, Keys&& keys, int tableindex) { get_field(L, std::get(keys), tableindex); if (!maybe_indexable(L)) { return probe(false, sofar); } - return apply(std::index_sequence(), sofar + 1, L, std::forward(keys), tableindex); + return apply(std::index_sequence(), sofar + 1, L, std::forward(keys), tableindex); } template