From 7f747b73ed714fc1b09a127f681d6f606410b9a0 Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Mon, 27 May 2024 15:42:43 +0200 Subject: [PATCH] wip --- include/engine/api/table_api.hpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/include/engine/api/table_api.hpp b/include/engine/api/table_api.hpp index 55ef4d459..10b57f985 100644 --- a/include/engine/api/table_api.hpp +++ b/include/engine/api/table_api.hpp @@ -416,18 +416,18 @@ class TableAPI final : public BaseAPI MakeEstimatesTable(const std::vector &fallback_speed_cells) const { util::json::Array json_table; - std::for_each(fallback_speed_cells.begin(), - fallback_speed_cells.end(), - [&](const auto &cell) - { - util::json::Array row; - util::json::Value jCellRow{util::json::Number(static_cast(cell.row))}; - util::json::Value jCellColumn{ - util::json::Number(static_cast(cell.column))}; - row.values.push_back(jCellRow); - row.values.push_back(jCellColumn); - json_table.values.push_back(util::json::Value{row}); - }); + std::for_each( + fallback_speed_cells.begin(), + fallback_speed_cells.end(), + [&](const auto &cell) + { + util::json::Array row; + util::json::Value jCellRow{util::json::Number(static_cast(cell.row))}; + util::json::Value jCellColumn{util::json::Number(static_cast(cell.column))}; + row.values.push_back(jCellRow); + row.values.push_back(jCellColumn); + json_table.values.push_back(util::json::Value{row}); + }); return json_table; }