diff options
| author | David Lönnhager <david.l@mullvad.net> | 2019-11-05 10:39:34 +0100 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2019-11-18 13:24:18 +0100 |
| commit | 2a119a446e41676e75fa7cd55bc92ebf10f671cd (patch) | |
| tree | b8dd6e8ab7c5867f5e3d7724083ee5d850aebff1 /windows/nsis-plugins/src/log | |
| parent | 174fa135f2a6f19aad5982e4e1e909aae4c71c3b (diff) | |
| download | mullvadvpn-2a119a446e41676e75fa7cd55bc92ebf10f671cd.tar.xz mullvadvpn-2a119a446e41676e75fa7cd55bc92ebf10f671cd.zip | |
Use std::filesystem in nsis-plugins
Diffstat (limited to 'windows/nsis-plugins/src/log')
| -rw-r--r-- | windows/nsis-plugins/src/log/log.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/windows/nsis-plugins/src/log/log.cpp b/windows/nsis-plugins/src/log/log.cpp index f0a050aadb..7b58006064 100644 --- a/windows/nsis-plugins/src/log/log.cpp +++ b/windows/nsis-plugins/src/log/log.cpp @@ -12,7 +12,7 @@ #include <memory> #include <sstream> #include <iomanip> -#include <experimental/filesystem> +#include <filesystem> Logger *g_logger = nullptr; @@ -94,7 +94,7 @@ std::wstring GetWindowsVersion() common::fs::ScopedNativeFileSystem nativeFileSystem; const auto systemDir = common::fs::GetKnownFolderPath(FOLDERID_System, 0, nullptr); - const auto systemModule = std::experimental::filesystem::path(systemDir).append(L"ntoskrnl.exe"); + const auto systemModule = std::filesystem::path(systemDir).append(L"ntoskrnl.exe"); DWORD dummy; @@ -199,7 +199,7 @@ void __declspec(dllexport) NSISCALL Initialize { case static_cast<int>(LogTarget::LOG_FILE): { - auto logpath = std::experimental::filesystem::path(common::fs::GetKnownFolderPath( + auto logpath = std::filesystem::path(common::fs::GetKnownFolderPath( FOLDERID_ProgramData, 0, nullptr)); logpath.append(L"Mullvad VPN"); |
