mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-20 09:17:23 +01:00
[poincare] Use const and & in TreeByReference != and == operators
This commit is contained in:
@@ -42,8 +42,8 @@ public:
|
||||
}
|
||||
|
||||
/* Comparison */
|
||||
inline bool operator==(TreeByReference t) { return m_identifier == t.identifier(); }
|
||||
inline bool operator!=(TreeByReference t) { return m_identifier != t.identifier(); }
|
||||
inline bool operator==(const TreeByReference& t) { return m_identifier == t.identifier(); }
|
||||
inline bool operator!=(const TreeByReference& t) { return m_identifier != t.identifier(); }
|
||||
|
||||
/* Clone */
|
||||
TreeByReference clone() const;
|
||||
|
||||
Reference in New Issue
Block a user