summaryrefslogtreecommitdiff
path: root/src/buildtool/common/remote/remote_common.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/common/remote/remote_common.hpp')
-rw-r--r--src/buildtool/common/remote/remote_common.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildtool/common/remote/remote_common.hpp b/src/buildtool/common/remote/remote_common.hpp
index ddbd16fb..be440052 100644
--- a/src/buildtool/common/remote/remote_common.hpp
+++ b/src/buildtool/common/remote/remote_common.hpp
@@ -28,8 +28,8 @@ struct ServerAddress {
Port port{};
[[nodiscard]] auto ToJson() const noexcept -> nlohmann::json {
- return nlohmann::json{
- fmt::format("{}:{}", host, static_cast<std::uint16_t>(port))};
+ return nlohmann::json(
+ fmt::format("{}:{}", host, static_cast<std::uint16_t>(port)));
}
};