Fix error

This commit is contained in:
momo5502 2016-09-17 00:22:01 +02:00
parent 25585fc9a4
commit d0f2da8f61

View File

@ -13,7 +13,7 @@ namespace Utils
template <typename T> template <typename T>
std::function<T> Get(std::string process) std::function<T> Get(std::string process)
{ {
if (this->Valid()) if (!this->Valid())
{ {
throw new std::runtime_error("Library not loaded!"); throw new std::runtime_error("Library not loaded!");
} }