mirror of
https://github.com/BlackMATov/meta.hpp.git
synced 2025-12-14 11:40:35 +07:00
fix tidy warnings
This commit is contained in:
@@ -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 >
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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 >
|
||||
|
||||
@@ -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 >
|
||||
|
||||
@@ -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 >
|
||||
|
||||
@@ -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 >
|
||||
|
||||
@@ -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 >
|
||||
|
||||
Reference in New Issue
Block a user