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
1 changed files with 11 additions and 1 deletions

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;