fix tidy warnings

This commit is contained in:
BlackMATov
2022-02-14 08:49:06 +07:00
parent dcb67aab76
commit bdae59b6a5
8 changed files with 8 additions and 8 deletions

View File

@@ -15,7 +15,7 @@
namespace meta_hpp
{
inline argument_index::argument_index(any_type type, std::size_t position)
: type_{std::move(type)}
: type_{type}
, position_{position} {}
template < typename Argument >

View File

@@ -15,7 +15,7 @@
namespace meta_hpp
{
inline constructor_index::constructor_index(constructor_type type)
: type_{std::move(type)} {}
: type_{type} {}
template < detail::class_kind Class, typename... Args >
constructor_index constructor_index::make() {

View File

@@ -15,7 +15,7 @@
namespace meta_hpp
{
inline destructor_index::destructor_index(destructor_type type)
: type_{std::move(type)} {}
: type_{type} {}
template < detail::class_kind Class >
destructor_index destructor_index::make() {

View File

@@ -15,7 +15,7 @@
namespace meta_hpp
{
inline evalue_index::evalue_index(enum_type type, std::string name)
: type_{std::move(type)}
: type_{type}
, name_{std::move(name)} {}
template < detail::enum_kind Enum >

View File

@@ -15,7 +15,7 @@
namespace meta_hpp
{
inline function_index::function_index(function_type type, std::string name)
: type_{std::move(type)}
: type_{type}
, name_{std::move(name)} {}
template < detail::function_kind Function >

View File

@@ -15,7 +15,7 @@
namespace meta_hpp
{
inline member_index::member_index(member_type type, std::string name)
: type_{std::move(type)}
: type_{type}
, name_{std::move(name)} {}
template < detail::member_kind Member >

View File

@@ -15,7 +15,7 @@
namespace meta_hpp
{
inline method_index::method_index(method_type type, std::string name)
: type_{std::move(type)}
: type_{type}
, name_{std::move(name)} {}
template < detail::method_kind Method >

View File

@@ -15,7 +15,7 @@
namespace meta_hpp
{
inline variable_index::variable_index(pointer_type type, std::string name)
: type_{std::move(type)}
: type_{type}
, name_{std::move(name)} {}
template < detail::pointer_kind Pointer >