new file
[ardour.git] / libs / pbd / pbd / id.h
index 1ce448d58bd1397b15d7379f4a8a426f9c6d1a98..c1103627342ba4d313052baa62cc03acb39de70e 100644 (file)
@@ -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;