Skip to content

Commit

Permalink
Use correct namespace for ranges::views
Browse files Browse the repository at this point in the history
  • Loading branch information
jellespijker committed Nov 8, 2023
1 parent 3cfce83 commit 138d6cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/progress/Progress.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ void Progress::messageProgressLayer(LayerIndex layer_nr, size_t total_layers, do
{
padding = iterator_max_size->stage.size();

for (auto [index, time] : stages | ranges::view::enumerate)
for (auto [index, time] : stages | ranges::views::enumerate)
{
spdlog::info("{}── {}:{} {:03.3f}s", index < stages.size() - 1 ? "" : "", time.stage, std::string(padding - time.stage.size(), ' '), time.duration);
}
Expand Down

0 comments on commit 138d6cd

Please sign in to comment.