From 5b9aeb08c67a5f3670096e2ec3f1772137479c6b Mon Sep 17 00:00:00 2001 From: Edo Date: Thu, 7 Apr 2022 10:12:52 +0200 Subject: [PATCH] Fully reverse changes to library component Still crashes the client apperently --- src/Utils/Library.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils/Library.hpp b/src/Utils/Library.hpp index 552c91e2..3ef0db41 100644 --- a/src/Utils/Library.hpp +++ b/src/Utils/Library.hpp @@ -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();