Changes to response returns when song does not exist. The cause of a segmentation fault

This commit is contained in:
amazing-username
2019-10-26 14:23:42 +00:00
parent e764bc45de
commit 8714d76a2a
3 changed files with 51 additions and 47 deletions
+2 -4
View File
@@ -21,12 +21,10 @@ namespace manager {
bool didSongChange(const model::Song&, const model::Song&);
bool requiresFilesystemChange(const model::Song&, const model::Song&);
bool deleteSong(model::Song&);
bool updateSong(model::Song&);
void saveSong(model::Song&);
void deleteSong(model::Song&);
void updateSong(model::Song&);
static model::Song songDtoConv(dto::SongDto::ObjectWrapper&);
static void printSong(const model::Song&);
private: