From 096fb7f69128b27a3dc3a697235faed30acc0b3e Mon Sep 17 00:00:00 2001 From: Kyle Baron Date: Thu, 25 Jul 2024 15:31:54 -0500 Subject: [PATCH] put const back --- inst/include/datarecord.h | 2 +- src/datarecord.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inst/include/datarecord.h b/inst/include/datarecord.h index 18766c1b..6fe612ad 100644 --- a/inst/include/datarecord.h +++ b/inst/include/datarecord.h @@ -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 diff --git a/src/datarecord.cpp b/src/datarecord.cpp index 8e596b94..7a3e7fc1 100644 --- a/src/datarecord.cpp +++ b/src/datarecord.cpp @@ -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;