mirror of
https://github.com/BlackMATov/meta.hpp.git
synced 2025-12-15 03:45:30 +07:00
little warning fixes
This commit is contained in:
@@ -709,10 +709,14 @@ namespace meta_hpp::detail
|
||||
{
|
||||
template < typename R, typename... Args >
|
||||
struct fixed_function<R(Args...)>::vtable_t final {
|
||||
// NOLINTBEGIN(*-avoid-const-or-ref-data-members)
|
||||
|
||||
R (*const call)(const fixed_function& self, Args... args);
|
||||
void (*const move)(fixed_function& from, fixed_function& to) noexcept;
|
||||
void (*const destroy)(fixed_function& self);
|
||||
|
||||
// NOLINTEND(*-avoid-const-or-ref-data-members)
|
||||
|
||||
template < typename T >
|
||||
static T* buffer_cast(buffer_t& buffer) noexcept {
|
||||
// NOLINTNEXTLINE(*-reinterpret-cast)
|
||||
@@ -1670,7 +1674,7 @@ namespace meta_hpp
|
||||
|| std::is_same_v<T, uvalue>; //
|
||||
|
||||
template < typename T >
|
||||
concept non_uvalue_family = (!uvalue_family<T>);
|
||||
concept non_uvalue_family = !uvalue_family<T>;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ namespace meta_hpp
|
||||
|| std::is_same_v<T, uvalue>; //
|
||||
|
||||
template < typename T >
|
||||
concept non_uvalue_family = (!uvalue_family<T>);
|
||||
concept non_uvalue_family = !uvalue_family<T>;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -104,10 +104,14 @@ namespace meta_hpp::detail
|
||||
{
|
||||
template < typename R, typename... Args >
|
||||
struct fixed_function<R(Args...)>::vtable_t final {
|
||||
// NOLINTBEGIN(*-avoid-const-or-ref-data-members)
|
||||
|
||||
R (*const call)(const fixed_function& self, Args... args);
|
||||
void (*const move)(fixed_function& from, fixed_function& to) noexcept;
|
||||
void (*const destroy)(fixed_function& self);
|
||||
|
||||
// NOLINTEND(*-avoid-const-or-ref-data-members)
|
||||
|
||||
template < typename T >
|
||||
static T* buffer_cast(buffer_t& buffer) noexcept {
|
||||
// NOLINTNEXTLINE(*-reinterpret-cast)
|
||||
|
||||
Reference in New Issue
Block a user