diff options
| author | Martin Ridgers <[email protected]> | 2022-01-10 12:07:03 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2022-01-10 13:22:28 +0100 |
| commit | 9086231f3923c0df6d9ef817441bfae5e134e8ff (patch) | |
| tree | 739a41ca51910d9319cb6c04af435bf9b4c6d5cd /zenserver-test/projectclient.cpp | |
| parent | Vcpkg's manifest mode is no longer in use (diff) | |
| download | zen-9086231f3923c0df6d9ef817441bfae5e134e8ff.tar.xz zen-9086231f3923c0df6d9ef817441bfae5e134e8ff.zip | |
Converted use of _format UDL to fmt::format
Diffstat (limited to 'zenserver-test/projectclient.cpp')
| -rw-r--r-- | zenserver-test/projectclient.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/zenserver-test/projectclient.cpp b/zenserver-test/projectclient.cpp index 88608bfe0..597838e0d 100644 --- a/zenserver-test/projectclient.cpp +++ b/zenserver-test/projectclient.cpp @@ -19,8 +19,6 @@ namespace zen { -using namespace fmt::literals; - struct ProjectClientConnection { ProjectClientConnection(int BasePort) { Connect(BasePort); } @@ -45,7 +43,7 @@ struct ProjectClientConnection { ZEN_WARN("failed while creating named pipe {}", WideToUtf8(PipeName)); - throw std::system_error(GetLastError(), std::system_category(), "Failed to open named pipe '{}'"_format(WideToUtf8(PipeName))); + throw std::system_error(GetLastError(), std::system_category(), fmt::format("Failed to open named pipe '{}'", WideToUtf8(PipeName))); } // Change to message mode @@ -56,7 +54,7 @@ struct ProjectClientConnection { throw std::system_error(GetLastError(), std::system_category(), - "Failed to change named pipe '{}' to message mode"_format(WideToUtf8(PipeName))); + fmt::format("Failed to change named pipe '{}' to message mode", WideToUtf8(PipeName))); } m_hPipe.Attach(hPipe); // This now owns the handle and will close it |