[poincare] LayoutReference: remove useless code

This commit is contained in:
Émilie Feral
2018-07-27 17:20:05 +02:00
parent 2ab29ea141
commit 094c709e71

View File

@@ -20,17 +20,6 @@ public:
return cast;
}
// Operators
//TODO Remove these operators? If so, put setTo private
// Allow every LayoutReference to be transformed into a LayoutRef
LayoutReference& operator=(LayoutReference& lr) {
this->setTo(lr);
return *this;
}
LayoutReference& operator=(const LayoutReference& lr) {
this->setTo(lr);
return *this;
}
inline bool operator==(LayoutReference l) { return this->identifier() == l.identifier(); }
inline bool operator!=(LayoutReference l) { return this->identifier() != l.identifier(); }