some initialization and destructor cleanups

This commit is contained in:
Jason Turner
2016-04-09 22:10:06 -06:00
parent 08a68f310a
commit 4bf619c80f
5 changed files with 22 additions and 39 deletions

View File

@@ -89,6 +89,11 @@ namespace chaiscript
}
}
DLModule(DLModule &&) = default;
DLModule &operator=(DLModule &&) = default;
DLModule(const DLModule &) = delete;
DLModule &operator=(const DLModule &) = delete;
~DLModule()
{
FreeLibrary(m_data);