diff options
author | Andrew Morrow <acm@mongodb.com> | 2015-07-06 21:06:36 -0400 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2015-07-09 13:49:39 -0400 |
commit | 932e768dc264865d683c113e35985b78425f78d9 (patch) | |
tree | 3b0d01bb663745e9b366daef53633ca75fbf5e59 /src/mongo/stdx | |
parent | 7e6df189868bdb2e2b991f0733dc1486b41c69b1 (diff) | |
download | mongo-932e768dc264865d683c113e35985b78425f78d9.tar.gz |
SERVER-19313 Remove some obsoleted usages of boost
Diffstat (limited to 'src/mongo/stdx')
-rw-r--r-- | src/mongo/stdx/functional.h | 5 |
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; |