diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-19 04:54:47 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-22 07:39:52 -0400 |
| commit | f49efd6d448dccd4100fa46e2ebf1690d97033cc (patch) | |
| tree | 700e4be020963a2cdd7ff13c4003c59efa064201 /src/envwindows.cpp | |
| parent | b3d0ddb0b75da4abd59cae1508d983945c8e235d (diff) | |
replaced formatSystemMessageQ() with formatSystemMessage()
replaced windowsErrorString() with formatSystemMessage()
Diffstat (limited to 'src/envwindows.cpp')
| -rw-r--r-- | src/envwindows.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/envwindows.cpp b/src/envwindows.cpp index 8a98036a..3932a9b5 100644 --- a/src/envwindows.cpp +++ b/src/envwindows.cpp @@ -210,7 +210,7 @@ std::optional<bool> WindowsInfo::getElevated() const log::error( "while trying to check if process is elevated, " - "OpenProcessToken() failed: {}", formatSystemMessageQ(e)); + "OpenProcessToken() failed: {}", formatSystemMessage(e)); return {}; } @@ -226,7 +226,7 @@ std::optional<bool> WindowsInfo::getElevated() const log::error( "while trying to check if process is elevated, " - "GetTokenInformation() failed: {}", formatSystemMessageQ(e)); + "GetTokenInformation() failed: {}", formatSystemMessage(e)); return {}; } |
