IAP GITLAB

Skip to content
Snippets Groups Projects
Commit b2cf3974 authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan: Committed by Maximilian Reininghaus
Browse files

const-correctness in ContinuousProcess

parent 6893432f
No related branches found
No related tags found
1 merge request!116Some improvements here and there
......@@ -34,11 +34,11 @@ namespace corsika::process {
// here starts the interface part
// -> enforce derived to implement DoContinuous...
template <typename Particle, typename Track>
EProcessReturn DoContinuous(Particle&, Track&) const;
EProcessReturn DoContinuous(Particle&, Track const&) const;
// -> enforce derived to implement MaxStepLength...
template <typename Particle, typename Track>
corsika::units::si::LengthType MaxStepLength(Particle& p, Track& track) const;
units::si::LengthType MaxStepLength(Particle const& p, Track const& track) const;
};
// overwrite the default trait class, to mark BaseProcess<T> as useful process
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment