msvc compatibility
diff --git a/tuple/include/tuple_sketch_impl.hpp b/tuple/include/tuple_sketch_impl.hpp
index fff3b2c..a993193 100644
--- a/tuple/include/tuple_sketch_impl.hpp
+++ b/tuple/include/tuple_sketch_impl.hpp
@@ -507,7 +507,7 @@
ptr += copy_from_mem(ptr, &key, sizeof(key));
ptr += sd.deserialize(ptr, base + size - ptr, summary.get(), 1);
entries.push_back(Entry(key, std::move(*summary)));
- summary->~S();
+ (*summary).~S();
}
}
const bool is_ordered = flags_byte & (1 << flags::IS_ORDERED);