mirror of
https://github.com/BlackMATov/meta.hpp.git
synced 2025-12-13 03:08:49 +07:00
fix new clang-tidy warnings: readability-avoid-return-with-void-value
https://clang.llvm.org/extra/clang-tidy/checks/readability/avoid-return-with-void-value.html
This commit is contained in:
@@ -9335,7 +9335,7 @@ namespace meta_hpp
|
||||
using namespace detail;
|
||||
type_registry& registry{type_registry::instance()};
|
||||
const uarg varg{registry, META_HPP_FWD(arg)};
|
||||
return state_->destroy(varg);
|
||||
state_->destroy(varg);
|
||||
}
|
||||
|
||||
template < typename Arg >
|
||||
|
||||
@@ -113,7 +113,7 @@ namespace meta_hpp
|
||||
using namespace detail;
|
||||
type_registry& registry{type_registry::instance()};
|
||||
const uarg varg{registry, META_HPP_FWD(arg)};
|
||||
return state_->destroy(varg);
|
||||
state_->destroy(varg);
|
||||
}
|
||||
|
||||
template < typename Arg >
|
||||
|
||||
Reference in New Issue
Block a user