summaryrefslogtreecommitdiff
path: root/src/envwindows.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/envwindows.cpp')
-rw-r--r--src/envwindows.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/envwindows.cpp b/src/envwindows.cpp
index 718cf2ce..4fbd788a 100644
--- a/src/envwindows.cpp
+++ b/src/envwindows.cpp
@@ -10,7 +10,7 @@ using namespace MOBase;
WindowsInfo::WindowsInfo()
{
// loading ntdll.dll, the functions will be found with GetProcAddress()
- std::unique_ptr<HINSTANCE, LibraryFreer> ntdll(LoadLibraryW(L"ntdll.dll"));
+ LibraryPtr ntdll(LoadLibraryW(L"ntdll.dll"));
if (!ntdll) {
qCritical() << "failed to load ntdll.dll while getting version";