Commit bc10467c authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Silence g++ warning about the copy constructor being deprecated

Summary: because it is not defined and the operator= is defined

Reviewers: apol

Reviewed By: apol

Subscribers: kde-edu, apol

Tags: #kde_edu

Differential Revision: https://phabricator.kde.org/D27732
parent 9d97532a
......@@ -68,6 +68,9 @@ class ANALITZA_EXPORT Operator : public Object
};
/** Constructor. Creates an operator with @p t type .*/
explicit Operator(OperatorType t) : Object(oper), m_optype(t) {}
/** Copy constructor */
constexpr Operator(const Operator&) = default;
/** Destructor */
virtual ~Operator() {}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment