Fix compiler warning: clang-8 warns of explicitly-defined op implicitly deleted for Expression object's copy and move constructors

This commit is contained in:
Bhargava Shastry 2018-10-15 17:44:46 +02:00
parent af3300b86c
commit 546b08c158

View File

@ -62,8 +62,6 @@ public:
Expression(Expression const&) = default; Expression(Expression const&) = default;
Expression(Expression&&) = default; Expression(Expression&&) = default;
Expression& operator=(Expression const&) = default;
Expression& operator=(Expression&&) = default;
bool hasCorrectArity() const bool hasCorrectArity() const
{ {