fix a const-cast issue
This commit is contained in:
parent
0b4b0b19bc
commit
c9d55cb172
|
@ -347,7 +347,7 @@ LuaBindings::common (lua_State* L)
|
||||||
.beginClass <InterThreadInfo> ("InterThreadInfo")
|
.beginClass <InterThreadInfo> ("InterThreadInfo")
|
||||||
.addVoidConstructor ()
|
.addVoidConstructor ()
|
||||||
.addData ("done", const_cast<bool InterThreadInfo::*>(&InterThreadInfo::done))
|
.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))
|
.addData ("progress", const_cast<float InterThreadInfo::*>(&InterThreadInfo::progress))
|
||||||
.endClass ()
|
.endClass ()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user