summaryrefslogtreecommitdiff
path: root/src/mongo/logv2/ramlog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/logv2/ramlog.h')
-rw-r--r--src/mongo/logv2/ramlog.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/logv2/ramlog.h b/src/mongo/logv2/ramlog.h
index 183464f1c5a..5feba166044 100644
--- a/src/mongo/logv2/ramlog.h
+++ b/src/mongo/logv2/ramlog.h
@@ -36,7 +36,7 @@
#include "mongo/base/status.h"
#include "mongo/base/string_data.h"
-#include "mongo/stdx/mutex.h"
+#include "mongo/platform/mutex.h"
#include "mongo/util/concurrency/mutex.h"
namespace mongo {
@@ -113,7 +113,8 @@ private:
const char* getLine_inlock(unsigned lineNumber) const;
- stdx::mutex _mutex; // Guards all non-static data.
+ // Guards all non-static data.
+ stdx::mutex _mutex; // NOLINT
char lines[N][C];
unsigned h; // current position
unsigned n; // number of lines stores 0 o N