poly: cleanup

This commit is contained in:
Michele Caini
2024-05-22 16:07:11 +02:00
parent 1ffbd845dc
commit a014656f04

View File

@@ -199,9 +199,7 @@ public:
using vtable_type = typename poly_vtable<Concept, Len, Align>::type;
/*! @brief Default constructor. */
basic_poly() noexcept
: storage{},
vtable{} {}
basic_poly() noexcept = default;
/**
* @brief Constructs a poly by directly initializing the new object.
@@ -303,8 +301,8 @@ public:
}
private:
basic_any<Len, Align> storage;
vtable_type vtable;
basic_any<Len, Align> storage{};
vtable_type vtable{};
};
} // namespace entt