mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-14 10:36:34 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue