diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-02-29 19:40:24 +0100 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-03-04 13:15:37 +0100 |
commit | ed0655cdfb64b1259042f6f28654e768420d4f38 (patch) | |
tree | 44c2ba30ccf8c91c8c3e634a6583eefe0439426d /core | |
parent | 8ffa35e44f93321d618b81ec48817f5de8668a83 (diff) | |
download | redot-engine-ed0655cdfb64b1259042f6f28654e768420d4f38.tar.gz |
Compilation fixes on Android
Diffstat (limited to 'core')
-rw-r--r-- | core/rid_owner.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/rid_owner.h b/core/rid_owner.h index bd01eba17d..5c8c48a4cb 100644 --- a/core/rid_owner.h +++ b/core/rid_owner.h @@ -298,7 +298,11 @@ public: if (description) { print_error("ERROR: " + itos(alloc_count) + " RID allocations of type '" + description + "' were leaked at exit."); } else { +#ifdef NO_SAFE_CAST + print_error("ERROR: " + itos(alloc_count) + " RID allocations of type 'unknown' were leaked at exit."); +#else print_error("ERROR: " + itos(alloc_count) + " RID allocations of type '" + typeid(T).name() + "' were leaked at exit."); +#endif } for (size_t i = 0; i < max_alloc; i++) { |