mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
fix CCArrayExt::pop_back()
ret
variable not being a pointer (#1130)
Some checks failed
Build Binaries / Build Windows (push) Has been cancelled
Build Binaries / Build macOS (push) Has been cancelled
Build Binaries / Build Android (64-bit) (push) Has been cancelled
Build Binaries / Build Android (32-bit) (push) Has been cancelled
Build Binaries / Publish (push) Has been cancelled
Some checks failed
Build Binaries / Build Windows (push) Has been cancelled
Build Binaries / Build macOS (push) Has been cancelled
Build Binaries / Build Android (64-bit) (push) Has been cancelled
Build Binaries / Build Android (32-bit) (push) Has been cancelled
Build Binaries / Publish (push) Has been cancelled
This commit is contained in:
parent
fd2a457e76
commit
4dcac338f9
1 changed files with 1 additions and 1 deletions
|
@ -1080,7 +1080,7 @@ namespace geode::cocos {
|
||||||
}
|
}
|
||||||
|
|
||||||
T* pop_back() {
|
T* pop_back() {
|
||||||
T ret = m_arr->lastObject();
|
T* ret = static_cast<T*>(m_arr->lastObject());
|
||||||
m_arr->removeLastObject();
|
m_arr->removeLastObject();
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue