mirror of
https://github.com/godotengine/godot-cpp.git
synced 2026-01-01 05:48:37 +03:00
Merge pull request #1215 from adamscott/fix-deprecated-builtins-clang-2
Fix forgotten not operator
This commit is contained in:
@@ -213,7 +213,7 @@ void CowData<T>::_unref(void *p_data) {
|
||||
}
|
||||
|
||||
// clean up
|
||||
if (std::is_trivially_destructible<T>::value) {
|
||||
if (!std::is_trivially_destructible<T>::value) {
|
||||
uint32_t *count = _get_size();
|
||||
T *data = (T *)(count + 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user