any: minor changes

This commit is contained in:
Michele Caini
2024-05-21 10:31:36 +02:00
parent 5ecf9eb893
commit 505bb4c8cb
+1 -1
View File
@@ -208,7 +208,7 @@ public:
}
/*! @brief Frees the internal storage, whatever it means. */
~basic_any() {
~basic_any() noexcept {
if(vtable && (mode == any_policy::owner)) {
vtable(operation::destroy, *this, nullptr);
}