summaryrefslogtreecommitdiff
path: root/src/mongo/scripting/mozjs/numberdecimal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/scripting/mozjs/numberdecimal.h')
-rw-r--r--src/mongo/scripting/mozjs/numberdecimal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/scripting/mozjs/numberdecimal.h b/src/mongo/scripting/mozjs/numberdecimal.h
index 76411b45ca4..698bd8fe212 100644
--- a/src/mongo/scripting/mozjs/numberdecimal.h
+++ b/src/mongo/scripting/mozjs/numberdecimal.h
@@ -45,7 +45,7 @@ struct NumberDecimalInfo : public BaseInfo {
static void finalize(JSFreeOp* fop, JSObject* obj);
struct Functions {
- MONGO_DEFINE_JS_FUNCTION(toString);
+ MONGO_DECLARE_JS_FUNCTION(toString);
};
static const JSFunctionSpec methods[2];