summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/id.h
diff options
context:
space:
mode:
authorTaybin Rutkin <taybin@taybin.com>2006-08-15 12:07:56 +0000
committerTaybin Rutkin <taybin@taybin.com>2006-08-15 12:07:56 +0000
commitc5619a0f981161b441da1216de1f9c2e26190768 (patch)
treeb56359050097805d2ebeaa63c594ef5cc5d5e4aa /libs/pbd/pbd/id.h
parente706680e3d8517496944e04b7f0f6bd4746b939a (diff)
Renamed id to _id for ObjC compatibility.
git-svn-id: svn://localhost/ardour2/trunk@826 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/pbd/id.h')
-rw-r--r--libs/pbd/pbd/id.h8
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;