summaryrefslogtreecommitdiff
path: root/src/mongo/stdx/thread.h
diff options
context:
space:
mode:
authorclang-format-7.0.1 <adam.martin@10gen.com>2019-07-26 18:20:35 -0400
committerADAM David Alan Martin <adam.martin@10gen.com>2019-07-27 11:02:23 -0400
commit134a4083953270e8a11430395357fb70a29047ad (patch)
treedd428e1230e31d92b20b393dfdc17ffe7fa79cb6 /src/mongo/stdx/thread.h
parent1e46b5049003f427047e723ea5fab15b5a9253ca (diff)
downloadmongo-134a4083953270e8a11430395357fb70a29047ad.tar.gz
SERVER-41772 Apply clang-format 7.0.1 to the codebase
Diffstat (limited to 'src/mongo/stdx/thread.h')
-rw-r--r--src/mongo/stdx/thread.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/stdx/thread.h b/src/mongo/stdx/thread.h
index 278b7678e72..2968e9dcae2 100644
--- a/src/mongo/stdx/thread.h
+++ b/src/mongo/stdx/thread.h
@@ -57,8 +57,8 @@ namespace stdx {
*/
class thread : private ::std::thread { // NOLINT
public:
- using ::std::thread::native_handle_type; // NOLINT
using ::std::thread::id; // NOLINT
+ using ::std::thread::native_handle_type; // NOLINT
thread() noexcept : ::std::thread::thread() {} // NOLINT
@@ -91,13 +91,13 @@ public:
::std::thread::operator=(static_cast<::std::thread&&>(std::move(other)))); // NOLINT
};
- using ::std::thread::joinable; // NOLINT
using ::std::thread::get_id; // NOLINT
- using ::std::thread::native_handle; // NOLINT
using ::std::thread::hardware_concurrency; // NOLINT
+ using ::std::thread::joinable; // NOLINT
+ using ::std::thread::native_handle; // NOLINT
- using ::std::thread::join; // NOLINT
using ::std::thread::detach; // NOLINT
+ using ::std::thread::join; // NOLINT
void swap(thread& other) noexcept {
::std::thread::swap(static_cast<::std::thread&>(other)); // NOLINT