Fix error
This commit is contained in:
parent
25585fc9a4
commit
d0f2da8f61
@ -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!");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user