summaryrefslogtreecommitdiff
path: root/src/mongo/scripting/mozjs/proxyscope.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/scripting/mozjs/proxyscope.h')
-rw-r--r--src/mongo/scripting/mozjs/proxyscope.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/scripting/mozjs/proxyscope.h b/src/mongo/scripting/mozjs/proxyscope.h
index d19e24149bd..451981330a1 100644
--- a/src/mongo/scripting/mozjs/proxyscope.h
+++ b/src/mongo/scripting/mozjs/proxyscope.h
@@ -165,8 +165,7 @@ public:
void injectNative(const char* field, NativeFunction func, void* data = 0) override;
- ScriptingFunction _createFunction(const char* code,
- ScriptingFunction functionNumber = 0) override;
+ ScriptingFunction _createFunction(const char* code) override;
OperationContext* getOpContext() const;