Fix compile with MSVC

This commit is contained in:
Jonas Kvinge
2021-08-24 17:52:08 +02:00
parent 55e038d345
commit d02241d32c
14 changed files with 114 additions and 59 deletions

View File

@@ -2164,13 +2164,13 @@ void Playlist::RemoveDeletedSongs() {
namespace {
struct SongSimilarHash {
long operator() (const Song &song) const {
size_t operator() (const Song &song) const {
return HashSimilar(song);
}
};
struct SongSimilarEqual {
long operator()(const Song &song1, const Song &song2) const {
size_t operator()(const Song &song1, const Song &song2) const {
return song1.IsSimilar(song2);
}
};