diff options
Diffstat (limited to 'libs/pbd/pbd/id.h')
-rw-r--r-- | libs/pbd/pbd/id.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/pbd/pbd/id.h b/libs/pbd/pbd/id.h index d25ca81ef0..7a32a29002 100644 --- a/libs/pbd/pbd/id.h +++ b/libs/pbd/pbd/id.h @@ -31,7 +31,8 @@ class ID { public: ID (); ID (std::string); - + ID (const ID&); + bool operator== (const ID& other) const { return _id == other._id; } @@ -43,6 +44,7 @@ class ID { bool operator== (const std::string&) const; ID& operator= (std::string); + ID& operator= (const ID&); bool operator< (const ID& other) const { return _id < other._id; |