Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix ambiguity between libraries fmt and stl with function 'format_to' in roofer_app #88

Merged
merged 1 commit into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/roofer-app/config.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018-2024 TU Delft 3D geoinformation group, Ravi Peters (3DGI),

Check notice on line 1 in apps/roofer-app/config.hpp

View workflow job for this annotation

GitHub Actions / cpp-linter

Run clang-format on apps/roofer-app/config.hpp

File apps/roofer-app/config.hpp does not conform to Custom style guidelines. (lines 225, 238, 258, 753, 764, 766, 768, 779)
// and Balazs Dukai (3DGI)

// This file is part of roofer (https://github.com/3DBAG/roofer)
Expand Down Expand Up @@ -157,7 +157,7 @@
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 @@
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
Loading