Remove copy constructor & operator= in LuaHook
Because of member of std::unique_ptr type LuaHook can't be copiedpull/3/head
parent
cb6162f4aa
commit
7b592b4eda
|
@ -64,9 +64,9 @@ class LuaHook : public IScriptHook
|
|||
LuaHook() = delete;
|
||||
LuaHook(CelestiaCore *appCore) : IScriptHook(appCore) {};
|
||||
~LuaHook() override = default;
|
||||
LuaHook(const LuaHook&) = default;
|
||||
LuaHook(const LuaHook&) = delete;
|
||||
LuaHook(LuaHook&&) = default;
|
||||
LuaHook& operator=(const LuaHook&) = default;
|
||||
LuaHook& operator=(const LuaHook&) = delete;
|
||||
LuaHook& operator=(LuaHook&&) = default;
|
||||
|
||||
bool call(const char *method) const override;
|
||||
|
|
Loading…
Reference in New Issue