mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Remove unused unordered_map
This commit is contained in:
parent
6ff859ba29
commit
101e80c913
|
@ -58,7 +58,6 @@ private:
|
|||
std::unique_ptr<lua_State, void(*)(lua_State*)> L;
|
||||
table reg;
|
||||
table global;
|
||||
std::unordered_map<std::string, std::unique_ptr<detail::lua_func>> funcs;
|
||||
public:
|
||||
state():
|
||||
L(luaL_newstate(), lua_close),
|
||||
|
|
|
@ -76,9 +76,7 @@ public:
|
|||
push();
|
||||
return lua_rawlen(state(), -1);
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
template<typename T, typename TFx>
|
||||
table& set_fx(std::true_type, T&& key, TFx&& fx) {
|
||||
typedef typename std::remove_pointer<typename std::decay<TFx>::type>::type clean_fx;
|
||||
|
|
Loading…
Reference in New Issue
Block a user