MCPcopy Create free account
hub / github.com/audacity/audacity / ClipsAreUnique

Function ClipsAreUnique

libraries/lib-wave-track/WaveTrack.cpp:3416–3421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3414
3415namespace {
3416bool ClipsAreUnique(const WaveClipHolders &clips)
3417{
3418 // This is used only in assertions
3419 using Set = std::unordered_set<WaveClipHolder>;
3420 return clips.size() == Set{ clips.begin(), clips.end() }.size();
3421}
3422}
3423
3424void WaveTrack::InsertInterval(const IntervalHolder& clip,

Callers 1

InsertIntervalMethod · 0.85

Calls 3

sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected