From c9d55cb172d07d5da25140516abe045ea409b66b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 19 Apr 2016 12:58:54 -0400 Subject: fix a const-cast issue --- libs/ardour/luabindings.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/luabindings.cc') diff --git a/libs/ardour/luabindings.cc b/libs/ardour/luabindings.cc index 2fa6fa0604..b0bab16760 100644 --- a/libs/ardour/luabindings.cc +++ b/libs/ardour/luabindings.cc @@ -347,7 +347,7 @@ LuaBindings::common (lua_State* L) .beginClass ("InterThreadInfo") .addVoidConstructor () .addData ("done", const_cast(&InterThreadInfo::done)) - .addData ("cancel", (bool InterThreadInfo::*)&InterThreadInfo::cancel) + .addData ("cancel", const_cast(&InterThreadInfo::cancel)) .addData ("progress", const_cast(&InterThreadInfo::progress)) .endClass () -- cgit v1.2.3