summaryrefslogtreecommitdiff
path: root/src/mongo/scripting/mozjs/implscope.h
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2019-10-25 19:51:50 +0000
committerevergreen <evergreen@mongodb.com>2019-10-25 19:51:50 +0000
commita54df9e45d85a670bc4dc40339d76347865fab69 (patch)
treed430ebf24bba4c591cb6dfda6286ea4e327e30b2 /src/mongo/scripting/mozjs/implscope.h
parent8fc28f0773ca1efb0a43cc5590b9ca8b9e50559e (diff)
downloadmongo-a54df9e45d85a670bc4dc40339d76347865fab69.tar.gz
SERVER-43936 Implement simpler, quicker python based C++ linter
Diffstat (limited to 'src/mongo/scripting/mozjs/implscope.h')
-rw-r--r--src/mongo/scripting/mozjs/implscope.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/scripting/mozjs/implscope.h b/src/mongo/scripting/mozjs/implscope.h
index d3b5d590fc2..c763640e5b9 100644
--- a/src/mongo/scripting/mozjs/implscope.h
+++ b/src/mongo/scripting/mozjs/implscope.h
@@ -379,7 +379,7 @@ private:
public:
MozRuntime(const MozJSScriptEngine* engine);
- std::thread _thread;
+ std::thread _thread; // NOLINT
std::unique_ptr<JSRuntime, std::function<void(JSRuntime*)>> _runtime;
std::unique_ptr<JSContext, std::function<void(JSContext*)>> _context;
};
@@ -420,7 +420,7 @@ private:
unsigned int _opId; // op id for this scope
OperationContext* _opCtx; // Op context for DbEval
std::size_t _inOp;
- std::atomic<bool> _pendingGC;
+ std::atomic<bool> _pendingGC; // NOLINT
ConnectState _connectState;
Status _status;
std::string _parentStack;