mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 15:15:41 +01:00
Fix const warning
This commit is contained in:
parent
12ad052d98
commit
5979647c22
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ public:
|
|||
void start_touch (timepos_t const & when);
|
||||
void stop_touch (timepos_t const & when);
|
||||
|
||||
bool touching() const { return g_atomic_int_get (&_touching); }
|
||||
bool touching() const { return g_atomic_int_get (const_cast<GATOMIC_QUAL gint*> (&_touching)); }
|
||||
|
||||
bool writing() const { return _auto_state == Write; }
|
||||
bool touch_enabled() const { return _auto_state & (Touch | Latch); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue