summaryrefslogtreecommitdiff
path: root/src/mongo/stdx
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-07-06 21:06:36 -0400
committerAndrew Morrow <acm@mongodb.com>2015-07-09 13:49:39 -0400
commit932e768dc264865d683c113e35985b78425f78d9 (patch)
tree3b0d01bb663745e9b366daef53633ca75fbf5e59 /src/mongo/stdx
parent7e6df189868bdb2e2b991f0733dc1486b41c69b1 (diff)
downloadmongo-932e768dc264865d683c113e35985b78425f78d9.tar.gz
SERVER-19313 Remove some obsoleted usages of boost
Diffstat (limited to 'src/mongo/stdx')
-rw-r--r--src/mongo/stdx/functional.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/stdx/functional.h b/src/mongo/stdx/functional.h
index c20f6e21310..b0c6b922f99 100644
--- a/src/mongo/stdx/functional.h
+++ b/src/mongo/stdx/functional.h
@@ -43,7 +43,9 @@ namespace mongo {
namespace stdx {
using ::std::bind; // NOLINT
+using ::std::cref; // NOLINT
using ::std::function; // NOLINT
+using ::std::ref; // NOLINT
namespace placeholders = ::std::placeholders; // NOLINT
} // namespace stdx
@@ -53,12 +55,15 @@ namespace placeholders = ::std::placeholders; // NOLINT
#include <boost/bind.hpp>
#include <boost/function.hpp>
+#include <boost/ref.hpp>
namespace mongo {
namespace stdx {
using boost::bind; // NOLINT
+using boost::cref; // NOLINT
using boost::function; // NOLINT
+using boost::ref; // NOLINT
namespace placeholders {
static boost::arg<1> _1;