Skip to content

Commit

Permalink
Fix forgotten not operator
Browse files Browse the repository at this point in the history
  • Loading branch information
adamscott committed Aug 16, 2023
1 parent 524bbd3 commit f5c8e51
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 f5c8e51

Please sign in to comment.