IAP GITLAB

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

const-correctness

parent e2d5e817
No related branches found
No related tags found
1 merge request!116Some improvements here and there
......@@ -37,7 +37,7 @@ template <typename TStack>
StackInspector<TStack>::~StackInspector() {}
template <typename TStack>
process::EProcessReturn StackInspector<TStack>::DoStack(TStack& vS) {
process::EProcessReturn StackInspector<TStack>::DoStack(TStack const& vS) {
if (!fReport) return process::EProcessReturn::eOk;
[[maybe_unused]] int i = 0;
HEPEnergyType Etot = 0_GeV;
......
......@@ -30,7 +30,7 @@ namespace corsika::process {
~StackInspector();
void Init();
EProcessReturn DoStack(TStack&);
EProcessReturn DoStack(TStack const&);
private:
bool fReport;
......
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