Skip to content
Snippets Groups Projects
Unverified Commit aadc2dea authored by Tomáš Pecka's avatar Tomáš Pecka
Browse files

Use =default where appropriate

parent edf117d7
No related branches found
No related tags found
1 merge request!139merge tp
...@@ -18,8 +18,7 @@ namespace abstraction { ...@@ -18,8 +18,7 @@ namespace abstraction {
template < class ParamType > template < class ParamType >
class ValuePrinterAbstraction : virtual public NaryOperationAbstraction < ParamType, std::ostream & >, virtual public ValueOperationAbstraction < void > { class ValuePrinterAbstraction : virtual public NaryOperationAbstraction < ParamType, std::ostream & >, virtual public ValueOperationAbstraction < void > {
public: public:
ValuePrinterAbstraction ( ) { ValuePrinterAbstraction ( ) = default;
}
   
std::shared_ptr < abstraction::Value > run ( ) override { std::shared_ptr < abstraction::Value > run ( ) override {
std::shared_ptr < abstraction::Value > & firstParam = std::get < 0 > ( this->getParams ( ) ); std::shared_ptr < abstraction::Value > & firstParam = std::get < 0 > ( this->getParams ( ) );
...@@ -33,8 +32,7 @@ public: ...@@ -33,8 +32,7 @@ public:
template < > template < >
class ValuePrinterAbstraction < void > : virtual public NaryOperationAbstraction < >, virtual public ValueOperationAbstraction < void > { class ValuePrinterAbstraction < void > : virtual public NaryOperationAbstraction < >, virtual public ValueOperationAbstraction < void > {
public: public:
ValuePrinterAbstraction ( ) { ValuePrinterAbstraction ( ) = default;
}
   
std::shared_ptr < abstraction::Value > run ( ) override { std::shared_ptr < abstraction::Value > run ( ) override {
return std::make_shared < abstraction::Void > ( ); return std::make_shared < abstraction::Void > ( );
......
...@@ -21,8 +21,7 @@ class OperatorsIntrospectionCommand : public Command { ...@@ -21,8 +21,7 @@ class OperatorsIntrospectionCommand : public Command {
} }
   
public: public:
OperatorsIntrospectionCommand ( ) { OperatorsIntrospectionCommand ( ) = default;
}
   
template < class Operators > template < class Operators >
static void printOperators ( const ext::list < ext::pair < Operators, abstraction::AlgorithmFullInfo > > & overloads ) { static void printOperators ( const ext::list < ext::pair < Operators, abstraction::AlgorithmFullInfo > > & overloads ) {
......
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