mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 06:23:26 +02:00
Lua binder compability changes
* A lot of changes in lua binder to compile with clang's libc++ * Add more portability to luabinder * Remove const keyword from bound lua functions * Deprecate std::bind usage with luabinder replace its usage with registerSingletonClass/bindSingletonFunction for binding singleton classes * Fix a bug in lua binder where calling functions with bil object would make the client crash * More fixes to compile with clang
This commit is contained in:
@@ -49,8 +49,8 @@ public:
|
||||
UIAnchorGroup() : m_updated(true) { }
|
||||
|
||||
void addAnchor(const UIAnchor& anchor);
|
||||
const UIAnchorList& getAnchors() const { return m_anchors; }
|
||||
bool isUpdated() const { return m_updated; }
|
||||
const UIAnchorList& getAnchors() { return m_anchors; }
|
||||
bool isUpdated() { return m_updated; }
|
||||
void setUpdated(bool updated) { m_updated = updated; }
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user