mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
const for const-sake
This commit is contained in:
parent
d218dcb21b
commit
2b8b9a3a2f
2 changed files with 2 additions and 2 deletions
|
|
@ -264,7 +264,7 @@ ControlList::x_scale (ratio_t const & factor)
|
||||||
}
|
}
|
||||||
|
|
||||||
timepos_t
|
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) {
|
if (val.time_domain() != _time_domain) {
|
||||||
switch (_time_domain) {
|
switch (_time_domain) {
|
||||||
|
|
|
||||||
|
|
@ -412,7 +412,7 @@ public:
|
||||||
void add_guard_point (Temporal::timepos_t const & when, Temporal::timecnt_t const & offset);
|
void add_guard_point (Temporal::timepos_t const & when, Temporal::timecnt_t const & offset);
|
||||||
|
|
||||||
bool is_sorted () const;
|
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;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue