meta: minor changes

This commit is contained in:
Michele Caini
2024-12-05 17:37:19 +01:00
parent b480d8bc14
commit beaec4c5fe

View File

@@ -202,7 +202,7 @@ class meta_any {
}
void release() {
if((node.dtor.dtor != nullptr) && storage.owner()) {
if(storage.owner() && (node.dtor.dtor != nullptr)) {
node.dtor.dtor(storage.data());
}
}