diff options
author | Andy Schwerin <schwerin@mongodb.com> | 2014-05-15 19:28:57 -0400 |
---|---|---|
committer | Andy Schwerin <schwerin@mongodb.com> | 2014-05-16 16:01:50 -0400 |
commit | 995c04a16090511692c67a3555bdb61b5a387fa1 (patch) | |
tree | d60126db86cff5ca377152bb6a6c4e0439c9d932 /src/mongo/client/dbclient.cpp | |
parent | 864d86ad02e3de2149b4f80949d66a03cff061d1 (diff) | |
download | mongo-995c04a16090511692c67a3555bdb61b5a387fa1.tar.gz |
SERVER-13882 Replace boost::function with stdx::function and boost::bind with stdx::bind.
Diffstat (limited to 'src/mongo/client/dbclient.cpp')
-rw-r--r-- | src/mongo/client/dbclient.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mongo/client/dbclient.cpp b/src/mongo/client/dbclient.cpp index 3341f5d440f..407665ed735 100644 --- a/src/mongo/client/dbclient.cpp +++ b/src/mongo/client/dbclient.cpp @@ -1053,18 +1053,18 @@ namespace mongo { _f( i.nextSafe() ); } } - boost::function<void(const BSONObj &)> _f; + stdx::function<void(const BSONObj &)> _f; }; - unsigned long long DBClientBase::query( boost::function<void(const BSONObj&)> f, const string& ns, Query query, const BSONObj *fieldsToReturn, int queryOptions ) { + unsigned long long DBClientBase::query( stdx::function<void(const BSONObj&)> f, const string& ns, Query query, const BSONObj *fieldsToReturn, int queryOptions ) { DBClientFunConvertor fun; fun._f = f; - boost::function<void(DBClientCursorBatchIterator &)> ptr( fun ); + stdx::function<void(DBClientCursorBatchIterator &)> ptr( fun ); return this->query( ptr, ns, query, fieldsToReturn, queryOptions ); } unsigned long long DBClientBase::query( - boost::function<void(DBClientCursorBatchIterator &)> f, + stdx::function<void(DBClientCursorBatchIterator &)> f, const string& ns, Query query, const BSONObj *fieldsToReturn, @@ -1091,7 +1091,7 @@ namespace mongo { } unsigned long long DBClientConnection::query( - boost::function<void(DBClientCursorBatchIterator &)> f, + stdx::function<void(DBClientCursorBatchIterator &)> f, const string& ns, Query query, const BSONObj *fieldsToReturn, |