summaryrefslogtreecommitdiff
path: root/src/mongo/stdx
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-06-23 22:27:18 -0400
committerAndrew Morrow <acm@mongodb.com>2015-06-30 12:16:56 -0400
commitd879ba7b97b52e7f54bd93d0fdc147b127f87ece (patch)
treeb915369e2b6ae95fff846aed4656a5701dd09ad4 /src/mongo/stdx
parent6abd1d0e9cdc691e6daf30ce3316ffb820b9bb70 (diff)
downloadmongo-d879ba7b97b52e7f54bd93d0fdc147b127f87ece.tar.gz
SERVER-19099 Enforce polyfill usage via lint
Diffstat (limited to 'src/mongo/stdx')
-rw-r--r--src/mongo/stdx/chrono.h2
-rw-r--r--src/mongo/stdx/condition_variable.h6
-rw-r--r--src/mongo/stdx/functional.h10
-rw-r--r--src/mongo/stdx/future.h12
-rw-r--r--src/mongo/stdx/memory.h4
-rw-r--r--src/mongo/stdx/mutex.h16
-rw-r--r--src/mongo/stdx/thread.h4
7 files changed, 27 insertions, 27 deletions
diff --git a/src/mongo/stdx/chrono.h b/src/mongo/stdx/chrono.h
index 797b5d3b963..47ab2a2d231 100644
--- a/src/mongo/stdx/chrono.h
+++ b/src/mongo/stdx/chrono.h
@@ -33,7 +33,7 @@
namespace mongo {
namespace stdx {
-namespace chrono = boost::chrono;
+namespace chrono = boost::chrono; // NOLINT
} // namespace stdx
} // namespace mongo
diff --git a/src/mongo/stdx/condition_variable.h b/src/mongo/stdx/condition_variable.h
index e3d77a853a8..206a9e84465 100644
--- a/src/mongo/stdx/condition_variable.h
+++ b/src/mongo/stdx/condition_variable.h
@@ -33,9 +33,9 @@
namespace mongo {
namespace stdx {
-using condition_variable = boost::condition_variable;
-using condition_variable_any = boost::condition_variable_any;
-using cv_status = boost::cv_status;
+using condition_variable = boost::condition_variable; // NOLINT
+using condition_variable_any = boost::condition_variable_any; // NOLINT
+using cv_status = boost::cv_status; // NOLINT
} // namespace stdx
} // namespace mongo
diff --git a/src/mongo/stdx/functional.h b/src/mongo/stdx/functional.h
index d86973b2066..c20f6e21310 100644
--- a/src/mongo/stdx/functional.h
+++ b/src/mongo/stdx/functional.h
@@ -42,9 +42,9 @@
namespace mongo {
namespace stdx {
-using ::std::bind;
-using ::std::function;
-namespace placeholders = ::std::placeholders;
+using ::std::bind; // NOLINT
+using ::std::function; // NOLINT
+namespace placeholders = ::std::placeholders; // NOLINT
} // namespace stdx
} // namespace mongo
@@ -57,8 +57,8 @@ namespace placeholders = ::std::placeholders;
namespace mongo {
namespace stdx {
-using boost::bind;
-using boost::function;
+using boost::bind; // NOLINT
+using boost::function; // NOLINT
namespace placeholders {
static boost::arg<1> _1;
diff --git a/src/mongo/stdx/future.h b/src/mongo/stdx/future.h
index bbc46efac14..bc4816aff6f 100644
--- a/src/mongo/stdx/future.h
+++ b/src/mongo/stdx/future.h
@@ -33,12 +33,12 @@
namespace mongo {
namespace stdx {
-using boost::async;
-using boost::future;
-using boost::future_status;
-using boost::launch;
-using boost::packaged_task;
-using boost::promise;
+using boost::async; // NOLINT
+using boost::future; // NOLINT
+using boost::future_status; // NOLINT
+using boost::launch; // NOLINT
+using boost::packaged_task; // NOLINT
+using boost::promise; // NOLINT
} // namespace stdx
} // namespace mongo
diff --git a/src/mongo/stdx/memory.h b/src/mongo/stdx/memory.h
index 1c4f512dc5a..83793f86c5a 100644
--- a/src/mongo/stdx/memory.h
+++ b/src/mongo/stdx/memory.h
@@ -37,7 +37,7 @@
namespace mongo {
namespace stdx {
-using ::std::make_unique;
+using ::std::make_unique; // NOLINT
} // namespace stdx
} // namespace mongo
@@ -49,7 +49,7 @@ using ::std::make_unique;
namespace mongo {
namespace stdx {
-using boost::make_unique;
+using boost::make_unique; // NOLINT
} // namespace stdx
} // namespace mongo
diff --git a/src/mongo/stdx/mutex.h b/src/mongo/stdx/mutex.h
index 9dc0f0c07b1..4303d25fba2 100644
--- a/src/mongo/stdx/mutex.h
+++ b/src/mongo/stdx/mutex.h
@@ -35,16 +35,16 @@
namespace mongo {
namespace stdx {
-using boost::mutex;
-using boost::timed_mutex;
-using boost::recursive_mutex;
+using boost::mutex; // NOLINT
+using boost::timed_mutex; // NOLINT
+using boost::recursive_mutex; // NOLINT
-using boost::adopt_lock_t;
-using boost::defer_lock_t;
-using boost::try_to_lock_t;
+using boost::adopt_lock_t; // NOLINT
+using boost::defer_lock_t; // NOLINT
+using boost::try_to_lock_t; // NOLINT
-using boost::lock_guard;
-using boost::unique_lock;
+using boost::lock_guard; // NOLINT
+using boost::unique_lock; // NOLINT
#if _MSC_VER < 1900
#define MONGO_STDX_CONSTEXPR const
diff --git a/src/mongo/stdx/thread.h b/src/mongo/stdx/thread.h
index 3b9490b2d67..e46900c02a3 100644
--- a/src/mongo/stdx/thread.h
+++ b/src/mongo/stdx/thread.h
@@ -33,8 +33,8 @@
namespace mongo {
namespace stdx {
-using thread = boost::thread;
-namespace this_thread = boost::this_thread;
+using thread = boost::thread; // NOLINT
+namespace this_thread = boost::this_thread; // NOLINT
} // namespace stdx
} // namespace mongo