Mercurial > hg > svcore
comparison data/fileio/MIDIFileWriter.cpp @ 1429:48e9f538e6e9
Untabify
author | Chris Cannam |
---|---|
date | Thu, 01 Mar 2018 18:02:22 +0000 |
parents | 50210da3997c |
children | 70e172e6cc59 |
comparison
equal
deleted
inserted
replaced
1428:87ae75da6527 | 1429:48e9f538e6e9 |
---|---|
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 |