Skip to content
Snippets Groups Projects

StoredMaterialManager: make getMaterial non-const

Merged Frank Winklmeier requested to merge fwinkl/athena:geomodelsvc1 into master

First step in making StoredMaterialManager const-correct ("thread-safe") and remove mutables. Make the StoredMaterialManager::getMaterial interface non-const as it modifies the list of materials.

The first commit is the actual interface change. All the remaining commits are just trivial changes in clients (e.g. const StoredMaterialManager* -> StoredMaterialManager*) and were mostly done by search&replace.

The remaining interfaces will be fixed in separate MRs.

This was discussed with @tsulaia and @ssnyder on !54024 (closed).

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading