diff options
Diffstat (limited to 'libs/pbd/pbd/id.h')
-rw-r--r-- | libs/pbd/pbd/id.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/pbd/pbd/id.h b/libs/pbd/pbd/id.h index 1ce448d58b..c110362734 100644 --- a/libs/pbd/pbd/id.h +++ b/libs/pbd/pbd/id.h @@ -14,17 +14,17 @@ class ID { ID (std::string); bool operator== (const ID& other) const { - return id == other.id; + return _id == other._id; } bool operator!= (const ID& other) const { - return id != other.id; + return _id != other._id; } ID& operator= (std::string); bool operator< (const ID& other) const { - return id < other.id; + return _id < other._id; } void print (char* buf) const; @@ -35,7 +35,7 @@ class ID { static void init (); private: - uint64_t id; + uint64_t _id; int string_assign (std::string); static Glib::Mutex* counter_lock; |