From 5f79e30d05a2eb9004e6229cc1550ca221ebca4d Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 29 Oct 2012 16:34:50 +0000 Subject: [PATCH] change is the only constant, again git-svn-id: svn://localhost/ardour2/branches/3.0@13363 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/pannable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/ardour/pannable.h b/libs/ardour/ardour/pannable.h index c9b5389f58..0d5200b685 100644 --- a/libs/ardour/ardour/pannable.h +++ b/libs/ardour/ardour/pannable.h @@ -72,7 +72,7 @@ class Pannable : public PBD::Stateful, public Automatable, public SessionHandleR void start_touch (double when); void stop_touch (bool mark, double when); - bool touching() const { return g_atomic_int_get (&_touching); } + bool touching() const { return g_atomic_int_get (const_cast(&_touching)); } bool writing() const { return _auto_state == Write; } bool touch_enabled() const { return _auto_state == Touch; }