*: suppress some warnings (see #620)
This commit is contained in:
@@ -42,7 +42,7 @@ class any {
|
||||
}
|
||||
|
||||
template<typename Type>
|
||||
static const void * basic_vtable(const operation op, const any &from, const void *to) {
|
||||
static const void * basic_vtable([[maybe_unused]] const operation op, [[maybe_unused]] const any &from, [[maybe_unused]] const void *to) {
|
||||
if constexpr(std::is_void_v<Type>) {
|
||||
return nullptr;
|
||||
} else if constexpr(std::is_lvalue_reference_v<Type>) {
|
||||
|
||||
@@ -155,7 +155,7 @@ class basic_organizer final {
|
||||
}
|
||||
|
||||
template<typename... Type>
|
||||
static std::size_t fill_dependencies(type_list<Type...>, type_info *buffer, const std::size_t count) {
|
||||
static std::size_t fill_dependencies(type_list<Type...>, [[maybe_unused]] type_info *buffer, [[maybe_unused]] const std::size_t count) {
|
||||
if constexpr(sizeof...(Type) == 0u) {
|
||||
return {};
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user