aboutsummaryrefslogtreecommitdiff
path: root/zenutil/zenserverprocess.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zenutil/zenserverprocess.cpp')
-rw-r--r--zenutil/zenserverprocess.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/zenutil/zenserverprocess.cpp b/zenutil/zenserverprocess.cpp
index 93886a6b7..fe6236d18 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;
@@ -651,9 +650,7 @@ ZenServerInstance::GetBaseUri() const
{
ZEN_ASSERT(m_BasePort);
- using namespace fmt::literals;
-
- return "http://localhost:{}"_format(m_BasePort);
+ return fmt::format("http://localhost:{}", m_BasePort);
}
} // namespace zen