mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
fix const-cast warnings
This commit is contained in:
parent
438f3e5141
commit
060f9cb355
1 changed files with 2 additions and 2 deletions
|
|
@ -103,8 +103,8 @@ class LIBARDOUR_API Diskstream : public SessionObject, public PublicDiskstream
|
||||||
framecnt_t roll_delay() const { return _roll_delay; }
|
framecnt_t roll_delay() const { return _roll_delay; }
|
||||||
void set_roll_delay (framecnt_t);
|
void set_roll_delay (framecnt_t);
|
||||||
|
|
||||||
bool record_enabled() const { return g_atomic_int_get (&_record_enabled); }
|
bool record_enabled() const { return g_atomic_int_get (const_cast<gint*>(&_record_enabled)); }
|
||||||
bool record_safe () const { return g_atomic_int_get (&_record_safe); }
|
bool record_safe () const { return g_atomic_int_get (const_cast<gint*>(&_record_safe)); }
|
||||||
virtual void set_record_enabled (bool yn) = 0;
|
virtual void set_record_enabled (bool yn) = 0;
|
||||||
virtual void set_record_safe (bool yn) = 0;
|
virtual void set_record_safe (bool yn) = 0;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue