Skip to content
Snippets Groups Projects
Commit 8b0c0351 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

remove not needed definition of destructors

parent 30aa2b10
No related branches found
No related tags found
1 merge request!95Many clang-tidy fixes
Pipeline #41076 passed with warnings
Showing
with 0 additions and 34 deletions
...@@ -65,8 +65,6 @@ private: ...@@ -65,8 +65,6 @@ private:
MemberImpl ( std::array < std::string, sizeof ... ( Params ) > paramNames, std::function < Return ( typename std::remove_reference < ObjectType >::type *, Params ... ) > callback ) : Entry ( AlgorithmFullInfo::methodEntryInfo < ObjectType, Return, Params ... > ( std::move ( paramNames ) ) ), m_callback ( std::move ( callback ) ) { MemberImpl ( std::array < std::string, sizeof ... ( Params ) > paramNames, std::function < Return ( typename std::remove_reference < ObjectType >::type *, Params ... ) > callback ) : Entry ( AlgorithmFullInfo::methodEntryInfo < ObjectType, Return, Params ... > ( std::move ( paramNames ) ) ), m_callback ( std::move ( callback ) ) {
} }
   
~MemberImpl ( ) override = default;
std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( ) const override; std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( ) const override;
}; };
   
...@@ -78,8 +76,6 @@ private: ...@@ -78,8 +76,6 @@ private:
EntryImpl ( AlgorithmCategories::AlgorithmCategory category, std::array < std::string, sizeof ... ( Params ) > paramNames, std::function < Return ( Params ... ) > callback ) : Entry ( AlgorithmFullInfo::algorithmEntryInfo < Return, Params ... > ( category, std::move ( paramNames ) ) ), m_callback ( std::move ( callback ) ) { EntryImpl ( AlgorithmCategories::AlgorithmCategory category, std::array < std::string, sizeof ... ( Params ) > paramNames, std::function < Return ( Params ... ) > callback ) : Entry ( AlgorithmFullInfo::algorithmEntryInfo < Return, Params ... > ( category, std::move ( paramNames ) ) ), m_callback ( std::move ( callback ) ) {
} }
   
~EntryImpl ( ) override = default;
std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( ) const override; std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( ) const override;
}; };
   
...@@ -91,8 +87,6 @@ private: ...@@ -91,8 +87,6 @@ private:
WrapperImpl ( std::array < std::string, sizeof ... ( Params ) > paramNames, std::function < std::shared_ptr < abstraction::OperationAbstraction > ( Params ... ) > wrapperFinder ) : Entry ( AlgorithmFullInfo::wrapperEntryInfo < Return, Params ... > ( std::move ( paramNames ) ) ), m_wrapperFinder ( std::move ( wrapperFinder ) ) { WrapperImpl ( std::array < std::string, sizeof ... ( Params ) > paramNames, std::function < std::shared_ptr < abstraction::OperationAbstraction > ( Params ... ) > wrapperFinder ) : Entry ( AlgorithmFullInfo::wrapperEntryInfo < Return, Params ... > ( std::move ( paramNames ) ) ), m_wrapperFinder ( std::move ( wrapperFinder ) ) {
} }
   
~WrapperImpl ( ) override = default;
std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( ) const override; std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( ) const override;
}; };
   
......
...@@ -58,8 +58,6 @@ private: ...@@ -58,8 +58,6 @@ private:
AlgorithmEntryImpl ( std::function < Return ( Param ) > callback, bool isExplicit ) : Entry ( isExplicit ), m_callback ( std::move ( callback ) ) { AlgorithmEntryImpl ( std::function < Return ( Param ) > callback, bool isExplicit ) : Entry ( isExplicit ), m_callback ( std::move ( callback ) ) {
} }
   
~AlgorithmEntryImpl ( ) override = default;
std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( ) const override; std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( ) const override;
}; };
   
......
...@@ -35,8 +35,6 @@ private: ...@@ -35,8 +35,6 @@ private:
class SetEntryImpl : public Entry { class SetEntryImpl : public Entry {
public: public:
std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( ) const override; std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( ) const override;
~SetEntryImpl ( ) override = default;
}; };
   
static ext::map < std::string, ext::list < ext::pair < std::string, std::unique_ptr < Entry > > > > & getEntries ( ); static ext::map < std::string, ext::list < ext::pair < std::string, std::unique_ptr < Entry > > > > & getEntries ( );
......
...@@ -33,8 +33,6 @@ private: ...@@ -33,8 +33,6 @@ private:
public: public:
EntryImpl ( ) = default; EntryImpl ( ) = default;
   
~EntryImpl ( ) override = default;
std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( std::string value ) const override; std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( std::string value ) const override;
}; };
   
......
...@@ -37,8 +37,6 @@ private: ...@@ -37,8 +37,6 @@ private:
public: public:
EntryImpl ( ) = default; EntryImpl ( ) = default;
   
~EntryImpl ( ) override = default;
std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( ) const override; std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( ) const override;
}; };
   
......
...@@ -33,8 +33,6 @@ private: ...@@ -33,8 +33,6 @@ private:
public: public:
EntryImpl ( ) = default; EntryImpl ( ) = default;
   
~EntryImpl ( ) override = default;
std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( std::ostream & os ) const override; std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( std::ostream & os ) const override;
}; };
   
......
...@@ -32,8 +32,6 @@ class InputFileRegistry { ...@@ -32,8 +32,6 @@ class InputFileRegistry {
EntryImpl ( std::shared_ptr < abstraction::OperationAbstraction > ( * callback ) ( const std::string & type, const ext::vector < std::string > & templateParams ) ) : m_callback ( callback ) { EntryImpl ( std::shared_ptr < abstraction::OperationAbstraction > ( * callback ) ( const std::string & type, const ext::vector < std::string > & templateParams ) ) : m_callback ( callback ) {
} }
   
~EntryImpl ( ) override = default;
std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( const std::string & type, const ext::vector < std::string > & templateParams ) const override; std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( const std::string & type, const ext::vector < std::string > & templateParams ) const override;
}; };
   
......
...@@ -32,8 +32,6 @@ class OutputFileRegistry { ...@@ -32,8 +32,6 @@ class OutputFileRegistry {
EntryImpl ( std::shared_ptr < abstraction::OperationAbstraction > ( * callback ) ( const std::string & typehint ) ) : m_callback ( callback ) { EntryImpl ( std::shared_ptr < abstraction::OperationAbstraction > ( * callback ) ( const std::string & typehint ) ) : m_callback ( callback ) {
} }
   
~EntryImpl ( ) override = default;
std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( const std::string & typehint ) const override; std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( const std::string & typehint ) const override;
}; };
   
......
...@@ -32,8 +32,6 @@ private: ...@@ -32,8 +32,6 @@ private:
class EntryImpl : public Entry { class EntryImpl : public Entry {
public: public:
std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( ) const override; std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( ) const override;
~EntryImpl ( ) override = default;
}; };
   
static ext::map < std::string, std::unique_ptr < Entry > > & getEntries ( ); static ext::map < std::string, std::unique_ptr < Entry > > & getEntries ( );
......
...@@ -33,8 +33,6 @@ private: ...@@ -33,8 +33,6 @@ private:
public: public:
EntryImpl ( ) = default; EntryImpl ( ) = default;
   
~EntryImpl ( ) override = default;
std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( ) const override; std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( ) const override;
}; };
   
......
...@@ -34,8 +34,6 @@ private: ...@@ -34,8 +34,6 @@ private:
public: public:
EntryImpl ( ) = default; EntryImpl ( ) = default;
   
~EntryImpl ( ) override = default;
std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( ) const override; std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( ) const override;
}; };
   
......
...@@ -34,8 +34,6 @@ private: ...@@ -34,8 +34,6 @@ private:
public: public:
EntryImpl ( ) = default; EntryImpl ( ) = default;
   
~EntryImpl ( ) override = default;
std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( ) const override; std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( ) const override;
}; };
   
......
...@@ -34,8 +34,6 @@ private: ...@@ -34,8 +34,6 @@ private:
public: public:
EntryImpl ( ) = default; EntryImpl ( ) = default;
   
~EntryImpl ( ) override = default;
std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( ) const override; std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( ) const override;
}; };
   
......
...@@ -35,8 +35,6 @@ private: ...@@ -35,8 +35,6 @@ private:
class SetEntryImpl : public Entry { class SetEntryImpl : public Entry {
public: public:
std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( ) const override; std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( ) const override;
~SetEntryImpl ( ) override = default;
}; };
   
static ext::map < std::string, ext::list < ext::pair < std::string, std::unique_ptr < Entry > > > > & getEntries ( ); static ext::map < std::string, ext::list < ext::pair < std::string, std::unique_ptr < Entry > > > > & getEntries ( );
......
...@@ -33,8 +33,6 @@ private: ...@@ -33,8 +33,6 @@ private:
public: public:
EntryImpl ( ) = default; EntryImpl ( ) = default;
   
~EntryImpl ( ) override = default;
std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( ) const override; std::shared_ptr < abstraction::OperationAbstraction > getAbstraction ( ) const override;
}; };
   
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment