| 119 | } |
| 120 | |
| 121 | std::set<int> Module::getRegisterdInstruments() const |
| 122 | { |
| 123 | std::set<int> set; |
| 124 | for (const Song& song : songs_) { |
| 125 | auto&& subset = song.getRegisteredInstruments(); |
| 126 | std::copy(subset.begin(), subset.end(), std::inserter(set, set.end())); |
| 127 | } |
| 128 | return set; |
| 129 | } |
| 130 | |
| 131 | void Module::clearUnusedPatterns() |
| 132 | { |
no test coverage detected