summaryrefslogtreecommitdiff
path: root/src/utils/cpp/json.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/cpp/json.hpp')
-rw-r--r--src/utils/cpp/json.hpp4
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()) {