diff options
author | Adam Midvidy <amidvidy@gmail.com> | 2015-06-18 11:18:11 -0400 |
---|---|---|
committer | Adam Midvidy <amidvidy@gmail.com> | 2015-06-18 15:32:33 -0400 |
commit | 9bb8d65d8d6c58fa325e81ad8f0d7d067a66f413 (patch) | |
tree | 516cf7fbefc28e3cf925a084f873e8af985543e9 /src/mongo/db/background.cpp | |
parent | 94543115f64345f3bb74b2508b1b319d6b6cf68d (diff) | |
download | mongo-9bb8d65d8d6c58fa325e81ad8f0d7d067a66f413.tar.gz |
SERVER-18723 boost -> stdx for condition_variable
Diffstat (limited to 'src/mongo/db/background.cpp')
-rw-r--r-- | src/mongo/db/background.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/background.cpp b/src/mongo/db/background.cpp index 2d492a103b4..fbf46736f98 100644 --- a/src/mongo/db/background.cpp +++ b/src/mongo/db/background.cpp @@ -36,6 +36,7 @@ #include <string> #include "mongo/base/disallow_copying.h" +#include "mongo/stdx/condition_variable.h" #include "mongo/stdx/thread.h" #include "mongo/util/assert_util.h" #include "mongo/util/map_util.h" @@ -61,7 +62,7 @@ namespace { private: int _opsInProgCount; - boost::condition_variable _noOpsInProg; + stdx::condition_variable _noOpsInProg; }; typedef StringMap<std::shared_ptr<BgInfo> > BgInfoMap; |