Skip to content

Commit

Permalink
put const back
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebaron committed Jul 25, 2024
1 parent 647bbd8 commit 096fb7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inst/include/datarecord.h
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ struct CompRec {
}
};

void insert_record(reclist& thisi, size_t start, rec_ptr& rec,
void insert_record(reclist& thisi, const size_t start, rec_ptr& rec,
const bool put_ev_first);

#endif
2 changes: 1 addition & 1 deletion src/datarecord.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ void datarecord::schedule(reclist& thisi, double maxtime,
* infusion end.
*
*/
void insert_record(reclist& thisi, size_t start, rec_ptr& rec,
void insert_record(reclist& thisi, const size_t start, rec_ptr& rec,
const bool put_ev_first) {
double time = rec->time();
size_t i = start;
Expand Down

0 comments on commit 096fb7f

Please sign in to comment.