summaryrefslogtreecommitdiff
path: root/src/mongo/scripting/mozjs/cursor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/scripting/mozjs/cursor.h')
-rw-r--r--src/mongo/scripting/mozjs/cursor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/scripting/mozjs/cursor.h b/src/mongo/scripting/mozjs/cursor.h
index db56bd9d184..5a16563ff15 100644
--- a/src/mongo/scripting/mozjs/cursor.h
+++ b/src/mongo/scripting/mozjs/cursor.h
@@ -43,7 +43,7 @@ namespace mozjs {
* from C++. Current callers are all via the Mongo object.
*/
struct CursorInfo : public BaseInfo {
- static void finalize(JSFreeOp* fop, JSObject* obj);
+ static void finalize(js::FreeOp* fop, JSObject* obj);
struct Functions {
MONGO_DECLARE_JS_FUNCTION(close);