1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-18 12:28:31 +01:00

Avoid tr1 for 10.9

This commit is contained in:
John Maguire 2013-11-22 16:05:38 +00:00
parent e7c63fdfb9
commit 331d471b51

View File

@ -1,7 +1,6 @@
#include "gtest/gtest.h" #include "gtest/gtest.h"
#include <functional> #include <functional>
#include <tr1/functional>
#include <QEventLoop> #include <QEventLoop>
#include <QFutureWatcher> #include <QFutureWatcher>
@ -144,7 +143,7 @@ TEST(ConcurrentRunTest, ConcurrentRunVoidBindFunctionStart) {
A a; A a;
int nb = 10; int nb = 10;
QFuture<void> future = ConcurrentRun::Run<void>(&threadpool, std::tr1::bind(&A::f, &a, &nb)); QFuture<void> future = ConcurrentRun::Run<void>(&threadpool, std::bind(&A::f, &a, &nb));
QFutureWatcher<void> watcher; QFutureWatcher<void> watcher;
watcher.setFuture(future); watcher.setFuture(future);
QEventLoop loop; QEventLoop loop;