Remove now useless _alloc_and_copy_cstr
This commit is contained in:
@@ -87,13 +87,6 @@ public:
|
||||
return 0;
|
||||
}
|
||||
|
||||
static _FORCE_INLINE_ char *_alloc_and_copy_cstr(const char *p_str) {
|
||||
size_t size = strlen(p_str) + 1;
|
||||
char *ret = reinterpret_cast<char *>(memalloc(size));
|
||||
memcpy(ret, p_str, size);
|
||||
return ret;
|
||||
}
|
||||
|
||||
// Must be public but you should not touch this.
|
||||
GodotObject *_owner = nullptr;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user