From 101e80c913ea684d074ac26fbd81424271b23af1 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 2 Dec 2013 23:50:41 -0500 Subject: [PATCH] Remove unused unordered_map --- sol/state.hpp | 1 - sol/table.hpp | 2 -- 2 files changed, 3 deletions(-) diff --git a/sol/state.hpp b/sol/state.hpp index ae9a5834..cccf03de 100644 --- a/sol/state.hpp +++ b/sol/state.hpp @@ -58,7 +58,6 @@ private: std::unique_ptr L; table reg; table global; - std::unordered_map> funcs; public: state(): L(luaL_newstate(), lua_close), diff --git a/sol/table.hpp b/sol/table.hpp index fb916988..8a83a40f 100644 --- a/sol/table.hpp +++ b/sol/table.hpp @@ -76,9 +76,7 @@ public: push(); return lua_rawlen(state(), -1); } - private: - template table& set_fx(std::true_type, T&& key, TFx&& fx) { typedef typename std::remove_pointer::type>::type clean_fx;