diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-18 23:52:11 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-22 07:33:38 -0400 |
| commit | d8760ed8ad688c7e69d2a5be89a8574f4bf44f74 (patch) | |
| tree | 20e4410c0c38addb87cc511aa1c242b34c728368 /src/envwindows.cpp | |
| parent | b2a1e1391fdd6bdee1c5e8d337b273447c70a506 (diff) | |
refactored Metrics and Display, no change in functionality
Diffstat (limited to 'src/envwindows.cpp')
| -rw-r--r-- | src/envwindows.cpp | 2 |
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"; |
