diff options
Diffstat (limited to 'libs/evoral')
-rw-r--r-- | libs/evoral/src/Event.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/evoral/src/Event.cpp b/libs/evoral/src/Event.cpp index e315d811e0..39f31f50d8 100644 --- a/libs/evoral/src/Event.cpp +++ b/libs/evoral/src/Event.cpp @@ -38,7 +38,7 @@ init_event_id_counter(event_id_t n) event_id_t 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 |