diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-08-09 12:26:37 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-08-09 16:36:21 +0200 |
commit | a58110bb7a3fa2a112085ce378f508b39e4f7096 (patch) | |
tree | 6917eba1251b2795e92c90f78838dc4ad28e00a6 /src/buildtool/execution_api/remote/config.hpp | |
parent | 7e44903a7e1bb30947867b267faae959888e214e (diff) | |
download | justbuild-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.hpp | 3 |
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))}; } }; |