summaryrefslogtreecommitdiff
path: root/src/pso
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-02-26 19:13:27 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-02-26 19:13:27 -0400
commitb86a9a31e664cc4c5f1e7e3a55c0b131e5c1564b (patch)
tree7a254ac003a18753d494c34caaabea0e215e6c34 /src/pso
parentda739f32830ef19b3400cbdf1ba18f5342abe7f0 (diff)
TObject: Make `all_parents_unqueued_for_destruction()` return an int
rather than a bool This is needed for matching other stuff.
Diffstat (limited to 'src/pso')
-rw-r--r--src/pso/TObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pso/TObject.cpp b/src/pso/TObject.cpp
index 9c97146..d065518 100644
--- a/src/pso/TObject.cpp
+++ b/src/pso/TObject.cpp
@@ -41,7 +41,7 @@ void *TObject::alloc(size_t size) {
}
-bool TObject::all_parents_unqueued_for_destruction() {
+int TObject::all_parents_unqueued_for_destruction() {
for (TObject *parent = this; parent != NULL; parent = parent->m_up) {
if (parent->get_flags(QUEUE_DESTRUCTION)) {
return false;