diff --git a/headers/meta.hpp/meta_indices/argument_index.hpp b/headers/meta.hpp/meta_indices/argument_index.hpp index 9a8db73..4b1ccd2 100644 --- a/headers/meta.hpp/meta_indices/argument_index.hpp +++ b/headers/meta.hpp/meta_indices/argument_index.hpp @@ -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 > diff --git a/headers/meta.hpp/meta_indices/constructor_index.hpp b/headers/meta.hpp/meta_indices/constructor_index.hpp index 9dc1c5e..19ae5cd 100644 --- a/headers/meta.hpp/meta_indices/constructor_index.hpp +++ b/headers/meta.hpp/meta_indices/constructor_index.hpp @@ -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() { diff --git a/headers/meta.hpp/meta_indices/destructor_index.hpp b/headers/meta.hpp/meta_indices/destructor_index.hpp index fd7e602..20e4688 100644 --- a/headers/meta.hpp/meta_indices/destructor_index.hpp +++ b/headers/meta.hpp/meta_indices/destructor_index.hpp @@ -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() { diff --git a/headers/meta.hpp/meta_indices/evalue_index.hpp b/headers/meta.hpp/meta_indices/evalue_index.hpp index 6cc78bb..ae8e429 100644 --- a/headers/meta.hpp/meta_indices/evalue_index.hpp +++ b/headers/meta.hpp/meta_indices/evalue_index.hpp @@ -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 > diff --git a/headers/meta.hpp/meta_indices/function_index.hpp b/headers/meta.hpp/meta_indices/function_index.hpp index 3512ee7..9270612 100644 --- a/headers/meta.hpp/meta_indices/function_index.hpp +++ b/headers/meta.hpp/meta_indices/function_index.hpp @@ -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 > diff --git a/headers/meta.hpp/meta_indices/member_index.hpp b/headers/meta.hpp/meta_indices/member_index.hpp index 4512c34..37d5ec6 100644 --- a/headers/meta.hpp/meta_indices/member_index.hpp +++ b/headers/meta.hpp/meta_indices/member_index.hpp @@ -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 > diff --git a/headers/meta.hpp/meta_indices/method_index.hpp b/headers/meta.hpp/meta_indices/method_index.hpp index 0ae9d94..3180013 100644 --- a/headers/meta.hpp/meta_indices/method_index.hpp +++ b/headers/meta.hpp/meta_indices/method_index.hpp @@ -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 > diff --git a/headers/meta.hpp/meta_indices/variable_index.hpp b/headers/meta.hpp/meta_indices/variable_index.hpp index 41b13c5..a5baed1 100644 --- a/headers/meta.hpp/meta_indices/variable_index.hpp +++ b/headers/meta.hpp/meta_indices/variable_index.hpp @@ -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 >