aboutsummaryrefslogtreecommitdiff
path: root/zenutil/zenserverprocess.cpp
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2022-01-07 14:41:45 +0100
committerMartin Ridgers <[email protected]>2022-01-07 14:56:28 +0100
commitfa86dbd4af6ff50fe21f909727676e2867f0b168 (patch)
tree1d8428aabb4433fd2e4a19038723c36f9de8b492 /zenutil/zenserverprocess.cpp
parentRemoved unused lambda captures (diff)
downloadzen-fa86dbd4af6ff50fe21f909727676e2867f0b168.tar.xz
zen-fa86dbd4af6ff50fe21f909727676e2867f0b168.zip
Turn all ThrowLastError() sites in source_location variants
Diffstat (limited to 'zenutil/zenserverprocess.cpp')
-rw-r--r--zenutil/zenserverprocess.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/zenutil/zenserverprocess.cpp b/zenutil/zenserverprocess.cpp
index 93886a6b7..8eb510bb5 100644
--- a/zenutil/zenserverprocess.cpp
+++ b/zenutil/zenserverprocess.cpp
@@ -11,7 +11,6 @@
#include <zencore/thread.h>
#include <atomic>
-#include <source_location>
#if ZEN_PLATFORM_WINDOWS
# include <atlbase.h>
@@ -52,7 +51,7 @@ namespace zenutil {
{
if (!SetSecurityDescriptorDacl(&m_Sd, TRUE, (PACL)NULL, FALSE))
{
- ThrowLastError("SetSecurityDescriptorDacl failed", std::source_location::current());
+ ThrowLastError("SetSecurityDescriptorDacl failed");
}
m_Attributes.lpSecurityDescriptor = &m_Sd;