Skip to content

Commit

Permalink
Temporarily use tr1/unordered_map on OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsansome committed Nov 22, 2012
1 parent c848d31 commit 0beab5c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/playlist/playlist.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 0beab5c

Please sign in to comment.