std::atomic - 2nd batch of changes to convert from glib to std::atomic

This commit is contained in:
Paul Davis 2023-02-17 11:34:35 -07:00
parent c304edd253
commit a486fba3e9
30 changed files with 179 additions and 233 deletions

View file

@ -95,7 +95,7 @@ AutomationList::AutomationList (const AutomationList& other)
, _before (0)
{
_state = other._state;
g_atomic_int_set (&_touching, other.touching());
_touching.store (other.touching());
create_curve_if_necessary();
@ -108,7 +108,7 @@ AutomationList::AutomationList (const AutomationList& other, timepos_t const & s
, _before (0)
{
_state = other._state;
g_atomic_int_set (&_touching, other.touching());
_touching.store (other.touching());
create_curve_if_necessary();