Fully reverse changes to library component

Still crashes the client apperently
This commit is contained in:
Edo 2022-04-07 10:12:52 +02:00 committed by GitHub
parent 5ed8792fbf
commit 5b9aeb08c6
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();