13
0

Fix another const warning

This commit is contained in:
Robin Gareus 2023-02-08 01:35:35 +01:00
parent bf9ed3f470
commit 58a846325b
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -86,8 +86,8 @@ public:
std::list<boost::shared_ptr<Source> >& last_capture_sources () { return _last_capture_sources; }
bool record_enabled () const { return g_atomic_int_get (&_record_enabled); }
bool record_safe () const { return g_atomic_int_get (&_record_safe); }
bool record_enabled () const { return g_atomic_int_get (const_cast<GATOMIC_QUAL gint*>(&_record_enabled)); }
bool record_safe () const { return g_atomic_int_get (const_cast<GATOMIC_QUAL gint*>(&_record_safe)); }
void set_record_enabled (bool yn);
void set_record_safe (bool yn);