summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/remote/config.hpp
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2023-08-09 12:26:37 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-08-09 16:36:21 +0200
commita58110bb7a3fa2a112085ce378f508b39e4f7096 (patch)
tree6917eba1251b2795e92c90f78838dc4ad28e00a6 /src/buildtool/execution_api/remote/config.hpp
parent7e44903a7e1bb30947867b267faae959888e214e (diff)
downloadjustbuild-a58110bb7a3fa2a112085ce378f508b39e4f7096.tar.gz
Update fmt library
Diffstat (limited to 'src/buildtool/execution_api/remote/config.hpp')
-rw-r--r--src/buildtool/execution_api/remote/config.hpp3
1 files changed, 2 insertions, 1 deletions
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<std::uint16_t>(port))};
}
};