playlist: store song hashes in hash map, not a tree

master
Andrzej Rybczak 14 years ago
parent b487f10f10
commit 9d8e6a2687
  1. 4
      src/playlist.h

@ -21,7 +21,7 @@
#ifndef _PLAYLIST_H
#define _PLAYLIST_H
#include <map>
#include <unordered_map>
#include "interfaces.h"
#include "screen.h"
@ -93,7 +93,7 @@ private:
std::string TotalLength();
std::string itsBufferedStats;
std::map<size_t, int> itsSongHashes;
std::unordered_map<size_t, int> itsSongHashes;
size_t itsTotalLength;
size_t itsRemainingTime;

Loading…
Cancel
Save