Add formatting script for c++

This commit is contained in:
Aaron Po
2026-04-19 15:27:26 -04:00
parent 898cc8971b
commit 9a2ecfea82
11 changed files with 74 additions and 47 deletions

View File

@@ -17,8 +17,7 @@ void BiergartenDataGenerator::LogResults() const {
index, location.city, location.country, location.state_province,
location.iso3166_2, location.latitude, location.longitude);
spdlog::info(" brewery_name_en=\"{}\"", brewery.name_en);
spdlog::info(" brewery_description_en=\"{}\"",
brewery.description_en);
spdlog::info(" brewery_description_en=\"{}\"", brewery.description_en);
spdlog::info(" brewery_name_local=\"{}\"", brewery.name_local);
spdlog::info(" brewery_description_local=\"{}\"",
brewery.description_local);

View File

@@ -3,10 +3,10 @@
* @brief BiergartenDataGenerator::Run() implementation.
*/
#include <utility>
#include <spdlog/spdlog.h>
#include <utility>
#include "biergarten_data_generator.h"
bool BiergartenDataGenerator::Run() {
@@ -20,7 +20,7 @@ bool BiergartenDataGenerator::Run() {
try {
std::string region_context = context_service_->GetLocationContext(city);
spdlog::debug("[Pipeline] Context for '{}' ({}) gathered:\n{}",
city.city, city.country, region_context);
city.city, city.country, region_context);
enriched.push_back(
EnrichedCity{.location = std::move(city),