Skip to content

Commit

Permalink
make clang-tidy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
asalzburger committed Jan 25, 2024
1 parent 2df9811 commit 6c3c9d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Core/include/Acts/Detector/Detector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,9 @@ class Detector : public std::enable_shared_from_this<Detector> {
/// handled by the root volume
template <ACTS_CONCEPT(SurfaceVisitor) visitor_t>
void visitSurfaces(visitor_t&& visitor) const {
for (const auto& v : rootVolumes())
for (const auto& v : rootVolumes()) {
v->template visitSurfaces<visitor_t>(std::forward<visitor_t>(visitor));
}
}

/// Update the current volume of a given navigation state
Expand Down

0 comments on commit 6c3c9d1

Please sign in to comment.