|
|
@@ -62,7 +62,7 @@ class basic_any {
|
|
|
static constexpr bool in_situ = Len && alignof(Type) <= Align && sizeof(Type) <= Len &&std::is_nothrow_move_constructible_v<Type>;
|
|
|
|
|
|
template<typename Type>
|
|
|
- static const void *basic_vtable([[maybe_unused]] const operation op, [[maybe_unused]] const basic_any &value, [[maybe_unused]] const void *other) {
|
|
|
+ static const void *basic_vtable(const operation op, const basic_any &value, const void *other) {
|
|
|
static_assert(!std::is_same_v<Type, void> && std::is_same_v<std::remove_cv_t<std::remove_reference_t<Type>>, Type>, "Invalid type");
|
|
|
const Type *element = nullptr;
|
|
|
|