summaryrefslogtreecommitdiff
path: root/libs/evoral/src/Event.cpp
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-07-26 15:39:17 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-07-26 15:39:17 +0000
commit4b38ddec62d6ecaff978b6c54b5386d904419437 (patch)
treef6130d13dae07a3400e6e31bf717730518d2ab64 /libs/evoral/src/Event.cpp
parent3b566446b2bdc751e276ae4a9cf6eead95dbcd62 (diff)
replace deprecated g_atomic_int_exchange_add()
git-svn-id: svn://localhost/ardour2/branches/3.0@13086 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/evoral/src/Event.cpp')
-rw-r--r--libs/evoral/src/Event.cpp2
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