mirror of
https://github.com/BlackMATov/meta.hpp.git
synced 2025-12-15 03:45:30 +07:00
fix tidy warnings
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
namespace meta_hpp
|
namespace meta_hpp
|
||||||
{
|
{
|
||||||
inline argument_index::argument_index(any_type type, std::size_t position)
|
inline argument_index::argument_index(any_type type, std::size_t position)
|
||||||
: type_{std::move(type)}
|
: type_{type}
|
||||||
, position_{position} {}
|
, position_{position} {}
|
||||||
|
|
||||||
template < typename Argument >
|
template < typename Argument >
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
namespace meta_hpp
|
namespace meta_hpp
|
||||||
{
|
{
|
||||||
inline constructor_index::constructor_index(constructor_type type)
|
inline constructor_index::constructor_index(constructor_type type)
|
||||||
: type_{std::move(type)} {}
|
: type_{type} {}
|
||||||
|
|
||||||
template < detail::class_kind Class, typename... Args >
|
template < detail::class_kind Class, typename... Args >
|
||||||
constructor_index constructor_index::make() {
|
constructor_index constructor_index::make() {
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
namespace meta_hpp
|
namespace meta_hpp
|
||||||
{
|
{
|
||||||
inline destructor_index::destructor_index(destructor_type type)
|
inline destructor_index::destructor_index(destructor_type type)
|
||||||
: type_{std::move(type)} {}
|
: type_{type} {}
|
||||||
|
|
||||||
template < detail::class_kind Class >
|
template < detail::class_kind Class >
|
||||||
destructor_index destructor_index::make() {
|
destructor_index destructor_index::make() {
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
namespace meta_hpp
|
namespace meta_hpp
|
||||||
{
|
{
|
||||||
inline evalue_index::evalue_index(enum_type type, std::string name)
|
inline evalue_index::evalue_index(enum_type type, std::string name)
|
||||||
: type_{std::move(type)}
|
: type_{type}
|
||||||
, name_{std::move(name)} {}
|
, name_{std::move(name)} {}
|
||||||
|
|
||||||
template < detail::enum_kind Enum >
|
template < detail::enum_kind Enum >
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
namespace meta_hpp
|
namespace meta_hpp
|
||||||
{
|
{
|
||||||
inline function_index::function_index(function_type type, std::string name)
|
inline function_index::function_index(function_type type, std::string name)
|
||||||
: type_{std::move(type)}
|
: type_{type}
|
||||||
, name_{std::move(name)} {}
|
, name_{std::move(name)} {}
|
||||||
|
|
||||||
template < detail::function_kind Function >
|
template < detail::function_kind Function >
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
namespace meta_hpp
|
namespace meta_hpp
|
||||||
{
|
{
|
||||||
inline member_index::member_index(member_type type, std::string name)
|
inline member_index::member_index(member_type type, std::string name)
|
||||||
: type_{std::move(type)}
|
: type_{type}
|
||||||
, name_{std::move(name)} {}
|
, name_{std::move(name)} {}
|
||||||
|
|
||||||
template < detail::member_kind Member >
|
template < detail::member_kind Member >
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
namespace meta_hpp
|
namespace meta_hpp
|
||||||
{
|
{
|
||||||
inline method_index::method_index(method_type type, std::string name)
|
inline method_index::method_index(method_type type, std::string name)
|
||||||
: type_{std::move(type)}
|
: type_{type}
|
||||||
, name_{std::move(name)} {}
|
, name_{std::move(name)} {}
|
||||||
|
|
||||||
template < detail::method_kind Method >
|
template < detail::method_kind Method >
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
namespace meta_hpp
|
namespace meta_hpp
|
||||||
{
|
{
|
||||||
inline variable_index::variable_index(pointer_type type, std::string name)
|
inline variable_index::variable_index(pointer_type type, std::string name)
|
||||||
: type_{std::move(type)}
|
: type_{type}
|
||||||
, name_{std::move(name)} {}
|
, name_{std::move(name)} {}
|
||||||
|
|
||||||
template < detail::pointer_kind Pointer >
|
template < detail::pointer_kind Pointer >
|
||||||
|
|||||||
Reference in New Issue
Block a user