Mercurial > hg > svcore
comparison data/fileio/MIDIFileWriter.cpp @ 1450:a12fd0456f0c streaming-csv-writer
Merge from default branch
author | Chris Cannam |
---|---|
date | Tue, 17 Apr 2018 10:35:42 +0100 |
parents | 48e9f538e6e9 |
children | 70e172e6cc59 |
comparison
equal
deleted
inserted
replaced
1449:deabf9fd3d28 | 1450:a12fd0456f0c |
---|---|
54 } | 54 } |
55 | 55 |
56 MIDIFileWriter::~MIDIFileWriter() | 56 MIDIFileWriter::~MIDIFileWriter() |
57 { | 57 { |
58 for (MIDIComposition::iterator i = m_midiComposition.begin(); | 58 for (MIDIComposition::iterator i = m_midiComposition.begin(); |
59 i != m_midiComposition.end(); ++i) { | 59 i != m_midiComposition.end(); ++i) { |
60 | 60 |
61 for (MIDITrack::iterator j = i->second.begin(); | 61 for (MIDITrack::iterator j = i->second.begin(); |
62 j != i->second.end(); ++j) { | 62 j != i->second.end(); ++j) { |
63 delete *j; | 63 delete *j; |
64 } | 64 } |
65 | 65 |
66 i->second.clear(); | 66 i->second.clear(); |
67 } | 67 } |
68 | 68 |
69 m_midiComposition.clear(); | 69 m_midiComposition.clear(); |
70 } | 70 } |
71 | 71 |