Skip to content

Commit

Permalink
fix ambiguity between libraries fmt and stl with function 'format_to'…
Browse files Browse the repository at this point in the history
… in roofer_app
  • Loading branch information
Nicolas Bellaiche committed Nov 29, 2024
1 parent f98de36 commit ab59407
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/roofer-app/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ struct fmt::formatter<roofer::ReconstructionConfig> {
template <typename Context>
constexpr auto format(roofer::ReconstructionConfig const& cfg,
Context& ctx) const {
return format_to(
return fmt::format_to(
ctx.out(),
"ReconstructionConfig(complexity_factor={}, clip_ground={}, lod={}, "
"lod13_step_height={}, floor_elevation={}, "
Expand All @@ -183,7 +183,7 @@ struct fmt::formatter<RooferConfig> {
if (cfg.region_of_interest.has_value()) {
region_of_interest = cfg.region_of_interest.value().wkt();
}
return format_to(
return fmt::format_to(
ctx.out(),
"RooferConfig(source_footprints={}, id_attribute={}, "
"force_lod11_attribute={}, yoc_attribute={}, layer_name={}, "
Expand Down
2 changes: 1 addition & 1 deletion apps/roofer-app/roofer-app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ struct fmt::formatter<BuildingTile> {
if (tile.proj_helper) {
data_offset_has_value = tile.proj_helper->data_offset.has_value();
}
return format_to(
return fmt::format_to(
ctx.out(),
"BuildingTile(id={}, buildings.size={}, attributes.has_attributes={}, "
"buildings_progresses={}, buildings_cnt={}, "
Expand Down

0 comments on commit ab59407

Please sign in to comment.