Commit ee93f62b authored by Sylvain Thery's avatar Sylvain Thery
Browse files

small bug in = operator of fkae attributes

parent 38b7c311
...@@ -43,7 +43,7 @@ public: ...@@ -43,7 +43,7 @@ public:
NoMathAttribute(int i) : T() {} NoMathAttribute(int i) : T() {}
NoMathAttribute(const T& att): T(att) {} NoMathAttribute(const T& att): T(att) {}
NoMathAttribute<T>& operator = (const T& fa) { *this = NoMathAttribute<T>(fa); } NoMathAttribute<T>& operator = (const T& fa) { return *this = NoMathAttribute<T>(fa); }
void operator += (const NoMathAttribute<T>& fa) {} void operator += (const NoMathAttribute<T>& fa) {}
void operator -= (const NoMathAttribute<T>& fa) {} void operator -= (const NoMathAttribute<T>& fa) {}
......
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