summaryrefslogtreecommitdiff
path: root/src/mongo/scripting
diff options
context:
space:
mode:
authorGabriel Russell <gabriel.russell@mongodb.com>2020-01-16 21:09:57 +0000
committerevergreen <evergreen@mongodb.com>2020-01-16 21:09:57 +0000
commita610dc6d69e6a14758e8160dbf94aee258d19494 (patch)
treeb456da1f17d4b404cbbb2aaba74707a10db83ab0 /src/mongo/scripting
parent7ba6fede8aab0ab8a77515d7c11a017b213d8f93 (diff)
downloadmongo-a610dc6d69e6a14758e8160dbf94aee258d19494.tar.gz
SERVER-45524 remove support for logging void * types
Diffstat (limited to 'src/mongo/scripting')
-rw-r--r--src/mongo/scripting/mozjs/engine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/scripting/mozjs/engine.cpp b/src/mongo/scripting/mozjs/engine.cpp
index 4a8427d7dd9..bac89aaef86 100644
--- a/src/mongo/scripting/mozjs/engine.cpp
+++ b/src/mongo/scripting/mozjs/engine.cpp
@@ -147,7 +147,7 @@ void MozJSScriptEngine::registerOperation(OperationContext* opCtx, MozJSImplScop
_opToScopeMap[opId] = scope;
- LOG(2) << "SMScope " << static_cast<const void*>(scope) << " registered for op " << opId;
+ LOG(2) << "SMScope " << reinterpret_cast<uint64_t>(scope) << " registered for op " << opId;
Status status = opCtx->checkForInterruptNoAssert();
if (!status.isOK()) {
scope->kill();
@@ -157,7 +157,7 @@ void MozJSScriptEngine::registerOperation(OperationContext* opCtx, MozJSImplScop
void MozJSScriptEngine::unregisterOperation(unsigned int opId) {
stdx::lock_guard<Latch> giLock(_globalInterruptLock);
- LOG(2) << "ImplScope " << static_cast<const void*>(this) << " unregistered for op " << opId;
+ LOG(2) << "ImplScope " << reinterpret_cast<uint64_t>(this) << " unregistered for op " << opId;
if (opId != 0) {
// scope is currently associated with an operation id