projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b56644
)
replace deprecated g_atomic_int_exchange_add()
author
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 26 Jul 2012 15:39:17 +0000
(15:39 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 26 Jul 2012 15:39:17 +0000
(15:39 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@13086
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/evoral/src/Event.cpp
patch
|
blob
|
history
diff --git
a/libs/evoral/src/Event.cpp
b/libs/evoral/src/Event.cpp
index e315d811e06f95d7f5da140c64cfc1c7ec6a2094..39f31f50d859499d18d10189ce1f3b56689a6913 100644
(file)
--- 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