Skip to content

Commit

Permalink
Avoid tr1 for 10.9
Browse files Browse the repository at this point in the history
  • Loading branch information
hatstand committed Nov 22, 2013
1 parent e7c63fd commit 331d471
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/concurrentrun_test.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include "gtest/gtest.h"

#include <functional>
#include <tr1/functional>

#include <QEventLoop>
#include <QFutureWatcher>
Expand Down Expand Up @@ -144,7 +143,7 @@ TEST(ConcurrentRunTest, ConcurrentRunVoidBindFunctionStart) {

A a;
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;
watcher.setFuture(future);
QEventLoop loop;
Expand Down

0 comments on commit 331d471

Please sign in to comment.