replace deprecated g_atomic_int_exchange_add()
git-svn-id: svn://localhost/ardour2/branches/3.0@13086 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
3b566446b2
commit
4b38ddec62
@ -38,7 +38,7 @@ init_event_id_counter(event_id_t n)
|
|||||||
event_id_t
|
event_id_t
|
||||||
next_event_id ()
|
next_event_id ()
|
||||||
{
|
{
|
||||||
return g_atomic_int_exchange_and_add (&_event_id_counter, 1);
|
return g_atomic_int_add (&_event_id_counter, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef EVORAL_EVENT_ALLOC
|
#ifdef EVORAL_EVENT_ALLOC
|
||||||
|
Loading…
Reference in New Issue
Block a user