summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/port_set.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-06-04 00:05:33 +0000
committerDavid Robillard <d@drobilla.net>2007-06-04 00:05:33 +0000
commit70fd14afe809c7ac7d3b5b382c77580d7b8f6085 (patch)
treeb996da4ea8757e58bbef4db13ca70f508a7464c2 /libs/ardour/ardour/port_set.h
parent5ee467790081b90b929bbeafda6b6d1f593929b5 (diff)
Show selected MIDI track in editor mixer.
Minor code cleanups. git-svn-id: svn://localhost/ardour2/trunk@1949 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/port_set.h')
-rw-r--r--libs/ardour/ardour/port_set.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/ardour/port_set.h b/libs/ardour/ardour/port_set.h
index 34967831e7..947730a5b9 100644
--- a/libs/ardour/ardour/port_set.h
+++ b/libs/ardour/ardour/port_set.h
@@ -63,7 +63,7 @@ public:
const ChanCount& count() const { return _count; }
- bool empty() const { return (_count.get_total() == 0); }
+ bool empty() const { return (_count.n_total() == 0); }
// ITERATORS
@@ -95,7 +95,7 @@ public:
iterator end(DataType type = DataType::NIL)
{
return iterator(*this, type,
- (type == DataType::NIL) ? _count.get_total() : _count.get(type));
+ (type == DataType::NIL) ? _count.n_total() : _count.get(type));
}
// FIXME: typeify
@@ -118,7 +118,7 @@ public:
};
const_iterator begin() const { return const_iterator(*this, 0); }
- const_iterator end() const { return const_iterator(*this, _count.get_total()); }
+ const_iterator end() const { return const_iterator(*this, _count.n_total()); }
class audio_iterator {