mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-16 19:31:02 +01:00
Temporarily use tr1/unordered_map on OS X
This commit is contained in:
parent
c848d311b8
commit
0beab5c9a8
@ -62,9 +62,19 @@
|
||||
#include <QtDebug>
|
||||
|
||||
#include <algorithm>
|
||||
#include <unordered_map>
|
||||
#include <boost/bind.hpp>
|
||||
|
||||
#ifdef Q_OS_DARWIN
|
||||
#include <tr1/unordered_map>
|
||||
|
||||
// I'm sorry...
|
||||
namespace std {
|
||||
using tr1::unordered_map;
|
||||
}
|
||||
#else
|
||||
#include <unordered_map>
|
||||
#endif
|
||||
|
||||
using smart_playlists::Generator;
|
||||
using smart_playlists::GeneratorInserter;
|
||||
using smart_playlists::GeneratorPtr;
|
||||
|
Loading…
Reference in New Issue
Block a user