diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2017-11-28 16:52:58 -0500 |
---|---|---|
committer | Billy Donahue <billy.donahue@mongodb.com> | 2017-12-01 16:37:23 -0500 |
commit | 7dc61c0f0c0160ad6cba831a0e12bef501ef3ad5 (patch) | |
tree | ea043f2ccc52da4a027d8a0e7b1cb562977bc247 /src/mongo/db/ftdc/controller.cpp | |
parent | 4a5f07ba38561db71727fe4254de5e9c24053645 (diff) | |
download | mongo-7dc61c0f0c0160ad6cba831a0e12bef501ef3ad5.tar.gz |
SERVER-32070 migrate some easy stdx::bind to lambdas
[branch stdx_bind_1]
Diffstat (limited to 'src/mongo/db/ftdc/controller.cpp')
-rw-r--r-- | src/mongo/db/ftdc/controller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/ftdc/controller.cpp b/src/mongo/db/ftdc/controller.cpp index bc3d4df444c..c8748cc8b02 100644 --- a/src/mongo/db/ftdc/controller.cpp +++ b/src/mongo/db/ftdc/controller.cpp @@ -139,7 +139,7 @@ void FTDCController::start() { << _path.generic_string() << "'"; // Start the thread - _thread = stdx::thread(stdx::bind(&FTDCController::doLoop, this)); + _thread = stdx::thread([this] { doLoop(); }); { stdx::lock_guard<stdx::mutex> lock(_mutex); |