Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
S src
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 62
    • Issues 62
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OPAL
  • src
  • Merge requests
  • !502

Merged
Created Jun 10, 2021 by snuverink_j@snuverink_jDeveloper

Resolve "Logical error in Boundarygeometry"

  • Overview 0
  • Commits 2
  • Changes 6
  • 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 Jun 10, 2021 by snuverink_j
Assignee
Assign to
Reviewer
Request review from
OPAL 2021.1
Milestone
OPAL 2021.1 (Past due)
Assign milestone
Time tracking
Source branch: 656-logical-error-in-boundarygeometry