Skip to content

Commit

Permalink
Merge pull request #1215 from adamscott/fix-deprecated-builtins-clang-2
Browse files Browse the repository at this point in the history
Fix forgotten not operator
  • Loading branch information
akien-mga authored Aug 16, 2023
2 parents 524bbd3 + f5c8e51 commit 74b352e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/godot_cpp/templates/cowdata.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 74b352e

Please sign in to comment.