From d0f2da8f616bb2d8ff9ba556157cc0a2cae9d61a Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sat, 17 Sep 2016 00:22:01 +0200 Subject: [PATCH] Fix error --- 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 e4d738e0..2f5d288b 100644 --- a/src/Utils/Library.hpp +++ b/src/Utils/Library.hpp @@ -13,7 +13,7 @@ namespace Utils template std::function Get(std::string process) { - if (this->Valid()) + if (!this->Valid()) { throw new std::runtime_error("Library not loaded!"); }