MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / ReplaceSong

Method ReplaceSong

Source/FamiTrackerModule.cpp:338–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336}
337
338std::unique_ptr<CSongData> CFamiTrackerModule::ReplaceSong(unsigned index, std::unique_ptr<CSongData> pSong) { // // //
339 m_pTracks[index].swap(pSong);
340 return pSong;
341}
342
343std::unique_ptr<CSongData> CFamiTrackerModule::ReleaseSong(unsigned index) { // // //
344 if (index >= GetSongCount())

Callers 3

UndoMethod · 0.80
RedoMethod · 0.80
operator()Method · 0.80

Calls 1

swapMethod · 0.80

Tested by

no test coverage detected