13
0

Remove aliased _size member.

git-svn-id: svn://localhost/ardour2/branches/3.0@5141 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-06-09 22:50:49 +00:00
parent d1e7733a4a
commit 98b9896fe1
2 changed files with 0 additions and 2 deletions

View File

@ -90,7 +90,6 @@ private:
friend class iterator_base< MidiBuffer, Evoral::MIDIEvent<TimeType> >;
friend class iterator_base< const MidiBuffer, const Evoral::MIDIEvent<TimeType> >;
size_t _size; ///< Size in bytes of used portion of _data
uint8_t* _data; ///< timestamp, event, timestamp, event, ...
};

View File

@ -27,7 +27,6 @@ using namespace ARDOUR;
// FIXME: mirroring for MIDI buffers?
MidiBuffer::MidiBuffer(size_t capacity)
: Buffer(DataType::MIDI, capacity)
, _size(0)
, _data(0)
{
if (capacity) {