Fix forgotten not operator

pull/1215/head
Adam Scott 2023-08-16 05:30:40 -04:00
parent 524bbd3ee9
commit f5c8e5190f
No known key found for this signature in database
GPG Key ID: 1352C2919D96DDDF
1 changed files with 1 additions and 1 deletions

View File

@ -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);