1
0
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:
David Sansome 2012-11-22 19:38:17 +11:00
parent c848d311b8
commit 0beab5c9a8

View File

@ -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;