Resolve "Logical error in Boundarygeometry"
- Closes #656 (closed)
- fix
-Wrange-loop-analysis
warnings like:
src/Classic/AbsBeamline/ElementBase.cpp:422:42: warning:
loop variable 'path' of type 'const std::vector<unsigned int>' creates a copy from type
'const std::vector<unsigned int>' [-Wrange-loop-analysis]
for (const std::vector<unsigned int> path: paths) {
^
src/Classic/AbsBeamline/ElementBase.cpp:422:10: note: use
reference type 'const std::vector<unsigned int> &' to prevent copying
for (const std::vector<unsigned int> path: paths) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&
Edited by snuverink_j
Merge request reports
Activity
Filter activity
changed milestone to %OPAL 2021.1
added 1 commit
- d3a1d3d6 - fix clang 12.0.0 compiler warnings; SHOW command no longer exists
assigned to @snuverink_j
mentioned in commit 0320df69
mentioned in issue #658 (closed)
mentioned in issue OPAL/documentation/manual#13
Please register or sign in to reply