summaryrefslogtreecommitdiff
path: root/libs/pbd/id.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-05-13 21:34:09 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-05-13 21:34:09 +0000
commit0569107ddc0d2a8df6ca0a2c8cc16ebe8f3dee99 (patch)
tree81b0a6ffb5cd967d3b205a11ad6d4f8726aa03d2 /libs/pbd/id.cc
parent7188ec39903e4cef049468c5a0583d9ec67a290d (diff)
more work on the new all-Processor-all-The-Time redesign of Route - LOTS OF BREAKAGE STILL EXPECTED ; change all(?) methods that pass a start/end frame in to use sframes_t not nframes_t
git-svn-id: svn://localhost/ardour2/branches/3.0@5074 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/id.cc')
-rw-r--r--libs/pbd/id.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/pbd/id.cc b/libs/pbd/id.cc
index d24d22a0f9..ab9c7e7392 100644
--- a/libs/pbd/id.cc
+++ b/libs/pbd/id.cc
@@ -71,6 +71,12 @@ string ID::to_s() const
return string(buf);
}
+bool
+ID::operator== (const string& str) const
+{
+ return to_s() == str;
+}
+
ID&
ID::operator= (string str)
{