diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-04-19 12:58:54 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-04-19 12:58:54 -0400 |
commit | c9d55cb172d07d5da25140516abe045ea409b66b (patch) | |
tree | 0d10463f6a8da6ac42231926218f2f732bc6d5ed /libs/ardour/luabindings.cc | |
parent | 0b4b0b19bcc2ba74698cd3868c5998afb09dcc68 (diff) |
fix a const-cast issue
Diffstat (limited to 'libs/ardour/luabindings.cc')
-rw-r--r-- | libs/ardour/luabindings.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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> ("InterThreadInfo") .addVoidConstructor () .addData ("done", const_cast<bool InterThreadInfo::*>(&InterThreadInfo::done)) - .addData ("cancel", (bool InterThreadInfo::*)&InterThreadInfo::cancel) + .addData ("cancel", const_cast<bool InterThreadInfo::*>(&InterThreadInfo::cancel)) .addData ("progress", const_cast<float InterThreadInfo::*>(&InterThreadInfo::progress)) .endClass () |