13
0

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:
Paul Davis 2012-07-26 15:39:17 +00:00
parent 3b566446b2
commit 4b38ddec62

View File

@ -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