Merge pull request #212 from diamante0018/patch-1

Fully reverse changes to library component
This commit is contained in:
Dss0 2022-04-07 14:20:03 +02:00 committed by GitHub
commit 891a5bf878
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ namespace Utils
static Library GetByAddress(void* address);
Library() : _module(nullptr), freeOnDestroy(false) {};
explicit Library(const std::string& name, bool freeOnDestroy);
Library(const std::string& name, bool freeOnDestroy);
explicit Library(const std::string& name) : _module(GetModuleHandleA(name.data())), freeOnDestroy(true) {};
explicit Library(HMODULE handle);
~Library();