13
0

const for const-sake

This commit is contained in:
Paul Davis 2022-05-01 18:01:35 -06:00
parent d218dcb21b
commit 2b8b9a3a2f
2 changed files with 2 additions and 2 deletions

View File

@ -264,7 +264,7 @@ ControlList::x_scale (ratio_t const & factor)
}
timepos_t
ControlList::ensure_time_domain (timepos_t const & val)
ControlList::ensure_time_domain (timepos_t const & val) const
{
if (val.time_domain() != _time_domain) {
switch (_time_domain) {

View File

@ -412,7 +412,7 @@ public:
void add_guard_point (Temporal::timepos_t const & when, Temporal::timecnt_t const & offset);
bool is_sorted () const;
Temporal::timepos_t ensure_time_domain (Temporal::timepos_t const & );
Temporal::timepos_t ensure_time_domain (Temporal::timepos_t const & ) const;
};