Commit 356c2192 authored by L. E. Segovia's avatar L. E. Segovia

Fix warning: deprecated implicit assignment operator (C++11)

parent 1e497d03
...@@ -69,6 +69,9 @@ class ExprType { ...@@ -69,6 +69,9 @@ class ExprType {
assert(_type == tFP || _n == 1); assert(_type == tFP || _n == 1);
} }
//! Assignment operator
ExprType& operator=(const ExprType& other) = default;
/// Returns true if this and other do not match on type and dimension /// Returns true if this and other do not match on type and dimension
bool operator!=(const ExprType& other) const { return !(*this == other); } bool operator!=(const ExprType& other) const { return !(*this == other); }
......
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