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

Function swap

libraries/lib-note-track/NoteTrack.cpp:634–639  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

632namespace
633{
634 void swap(std::unique_ptr<Alg_seq> &a, std::unique_ptr<Alg_seq> &b)
635 {
636 std::unique_ptr<Alg_seq> tmp = std::move(a);
637 a = std::move(b);
638 b = std::move(tmp);
639 }
640}
641
642Alg_seq *NoteTrack::MakeExportableSeq(std::unique_ptr<Alg_seq> &cleanup) const

Callers 3

MakeExportableSeqMethod · 0.70
CurlStringList.cppFile · 0.50

Calls 1

moveFunction · 0.85

Tested by

no test coverage detected