projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8cc2d1
)
tweak for const correctness on apple
author
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 21 Jan 2013 19:42:34 +0000
(19:42 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 21 Jan 2013 19:42:34 +0000
(19:42 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@13956
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/ardour/session.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/session.cc
b/libs/ardour/session.cc
index 3a2f035e738d1ce737a6fef103bd90dbe1a34e63..3281ff2f98e515ccdd66a24ba66377ffc55ab81d 100644
(file)
--- a/
libs/ardour/session.cc
+++ b/
libs/ardour/session.cc
@@
-4201,7
+4201,7
@@
Session::add_automation_list(AutomationList *al)
bool
Session::have_rec_enabled_track () const
{
- return g_atomic_int_get (
&_have_rec_enabled_track
) == 1;
+ return g_atomic_int_get (
const_cast<gint*>(&_have_rec_enabled_track)
) == 1;
}
/** Update the state of our rec-enabled tracks flag */