mirror of
https://github.com/geode-sdk/geode.git
synced 2025-02-17 00:30:26 -05:00
impl retainCount to fix macos build
This commit is contained in:
parent
83fe2bb679
commit
57947a9a27
1 changed files with 3 additions and 1 deletions
4
loader/include/Geode/cocos/cocoa/CCObject.h
vendored
4
loader/include/Geode/cocos/cocoa/CCObject.h
vendored
|
@ -121,7 +121,9 @@ public:
|
|||
CCObject* autorelease(void);
|
||||
CCObject* copy(void);
|
||||
bool isSingleReference(void) const;
|
||||
inline unsigned int retainCount(void) const;
|
||||
inline unsigned int retainCount(void) const {
|
||||
return m_uReference;
|
||||
}
|
||||
virtual bool isEqual(const CCObject* pObject);
|
||||
|
||||
virtual void acceptVisitor(CCDataVisitor &visitor);
|
||||
|
|
Loading…
Reference in a new issue