1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-02-10 00:30:41 +01:00

CollectionModelUpdate: Remove reference from enum

This commit is contained in:
Jonas Kvinge 2024-08-24 23:20:20 +02:00
parent 08224443e3
commit cb0db8750f
2 changed files with 2 additions and 2 deletions

View File

@ -19,5 +19,5 @@
#include "collectionmodelupdate.h" #include "collectionmodelupdate.h"
CollectionModelUpdate::CollectionModelUpdate(const Type &_type, const SongList &_songs) CollectionModelUpdate::CollectionModelUpdate(const Type _type, const SongList &_songs)
: type(_type), songs(_songs) {} : type(_type), songs(_songs) {}

View File

@ -30,7 +30,7 @@ class CollectionModelUpdate {
Update, Update,
Remove, Remove,
}; };
explicit CollectionModelUpdate(const Type &_type, const SongList &_songs); explicit CollectionModelUpdate(const Type _type, const SongList &_songs);
Type type; Type type;
SongList songs; SongList songs;
}; };