diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-08-27 11:14:38 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-08-27 11:40:40 +0200 |
commit | bc39ecc0385dd7e0cb9e1df84628e4c6dde34ab5 (patch) | |
tree | 4556b3f5f5898ef56316fc1612a04402b79903ef /src/utils/cpp/json.hpp | |
parent | 340f3478dc2bffe1a75496e5c120e88274fee698 (diff) | |
download | justbuild-bc39ecc0385dd7e0cb9e1df84628e4c6dde34ab5.tar.gz |
Reformat code to comply with clang-format 18
... while keeping our .clang-format file.
Diffstat (limited to 'src/utils/cpp/json.hpp')
-rw-r--r-- | src/utils/cpp/json.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/cpp/json.hpp b/src/utils/cpp/json.hpp index 64c208a7..1fe4df3f 100644 --- a/src/utils/cpp/json.hpp +++ b/src/utils/cpp/json.hpp @@ -33,8 +33,8 @@ auto ExtractValueAs( nlohmann::json const& j, std::string const& key, std::function<void(std::string const& error)>&& logger = - [](std::string const& /*unused*/) -> void {}) noexcept - -> std::optional<ValueT> { + [](std::string const& /*unused*/) -> void { + }) noexcept -> std::optional<ValueT> { try { auto it = j.find(key); if (it == j.end()) { |