Remove aliased _size member.
git-svn-id: svn://localhost/ardour2/branches/3.0@5141 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
d1e7733a4a
commit
98b9896fe1
@ -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, ...
|
||||
};
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user