Skip to content

Commit

Permalink
CarpetX: schedule.cxx: Declare Timer reference non-const
Browse files Browse the repository at this point in the history
  • Loading branch information
eschnett committed Sep 5, 2023
1 parent 3a04a69 commit 53b67c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CarpetX/src/schedule.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1854,7 +1854,7 @@ int CallFunction(void *function, cFunctionData *restrict attribute,
timer_iter = get<0>(timers.emplace(attribute, buf.str()));
}
}
const Timer &timer = timer_iter->second;
Timer &timer = timer_iter->second;
Interval interval(timer);

assert(active_levels);
Expand Down

0 comments on commit 53b67c4

Please sign in to comment.