Fix dynamic_library::loaded

This commit is contained in:
Rui Pinheiro
2019-06-16 16:11:13 +01:00
committed by Ivan
parent b29a89807e
commit b94730fa95
+2 -2
View File
@@ -1,4 +1,4 @@
#include "stdafx.h"
#include "stdafx.h"
#include "dynamic_library.h"
#ifdef _WIN32
@@ -50,7 +50,7 @@ namespace utils
bool dynamic_library::loaded() const
{
return !m_handle;
return m_handle != nullptr;
}
dynamic_library::operator bool() const