From a58110bb7a3fa2a112085ce378f508b39e4f7096 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Wed, 9 Aug 2023 12:26:37 +0200 Subject: Update fmt library --- src/buildtool/execution_api/remote/config.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/buildtool/execution_api/remote/config.hpp') diff --git a/src/buildtool/execution_api/remote/config.hpp b/src/buildtool/execution_api/remote/config.hpp index 55c96a46..449e9506 100644 --- a/src/buildtool/execution_api/remote/config.hpp +++ b/src/buildtool/execution_api/remote/config.hpp @@ -68,7 +68,8 @@ class RemoteExecutionConfig { Port port{}; [[nodiscard]] auto ToJson() const noexcept -> nlohmann::json { - return nlohmann::json{fmt::format("{}:{}", host, port)}; + return nlohmann::json{ + fmt::format("{}:{}", host, static_cast(port))}; } }; -- cgit v1.2.3