diff options
Diffstat (limited to 'libs/ardour/buffer_set.cc')
-rw-r--r-- | libs/ardour/buffer_set.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/buffer_set.cc b/libs/ardour/buffer_set.cc index 5b09ace1d6..34425324a5 100644 --- a/libs/ardour/buffer_set.cc +++ b/libs/ardour/buffer_set.cc @@ -362,9 +362,9 @@ BufferSet::get_vst_midi (size_t b) } BufferSet::VSTBuffer::VSTBuffer (size_t c) - : _capacity (c) - , _events (0) - , _midi_events (0) + : _events (0) + , _midi_events (0) + , _capacity (c) { if (_capacity > 0) { /* from `man malloc`: "If size is 0, then malloc() returns either NULL, or a |