diff --git a/sol/table.hpp b/sol/table.hpp index 774700a1..dcc5a10b 100644 --- a/sol/table.hpp +++ b/sol/table.hpp @@ -82,13 +82,13 @@ public: } template - proxy operator[](T&& key) { - return proxy(*this, std::forward(key)); + proxy operator[](T&& key) { + return proxy(*this, std::forward(key)); } template - proxy operator[](T&& key) const { - return proxy(*this, std::forward(key)); + proxy operator[](T&& key) const { + return proxy(*this, std::forward(key)); } size_t size() const {