aboutsummaryrefslogtreecommitdiff
path: root/zenserver/testing/httptest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zenserver/testing/httptest.cpp')
-rw-r--r--zenserver/testing/httptest.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/zenserver/testing/httptest.cpp b/zenserver/testing/httptest.cpp
index 924546762..eedf06661 100644
--- a/zenserver/testing/httptest.cpp
+++ b/zenserver/testing/httptest.cpp
@@ -8,8 +8,6 @@
namespace zen {
-using namespace fmt::literals;
-
HttpTestingService::HttpTestingService()
{
m_Router.RegisterRoute(
@@ -25,7 +23,7 @@ HttpTestingService::HttpTestingService()
Sleep(1000);
Request.WriteResponse(HttpResponseCode::OK,
HttpContentType::kText,
- "hello, took me {}"_format(NiceTimeSpanMs(Timer.GetElapsedTimeMs())));
+ fmt::format("hello, took me {}", NiceTimeSpanMs(Timer.GetElapsedTimeMs())));
});
},
HttpVerb::kGet);
@@ -38,7 +36,7 @@ HttpTestingService::HttpTestingService()
Sleep(60000);
Request.WriteResponse(HttpResponseCode::OK,
HttpContentType::kText,
- "hello, took me {}"_format(NiceTimeSpanMs(Timer.GetElapsedTimeMs())));
+ fmt::format("hello, took me {}", NiceTimeSpanMs(Timer.GetElapsedTimeMs())));
});
},
HttpVerb::kGet);