summaryrefslogtreecommitdiff
path: root/src/mongo/scripting/mozjs/regexp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/scripting/mozjs/regexp.cpp')
-rw-r--r--src/mongo/scripting/mozjs/regexp.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/scripting/mozjs/regexp.cpp b/src/mongo/scripting/mozjs/regexp.cpp
index b2e4d0b85a7..75d7a7ac915 100644
--- a/src/mongo/scripting/mozjs/regexp.cpp
+++ b/src/mongo/scripting/mozjs/regexp.cpp
@@ -37,7 +37,8 @@ namespace mongo {
namespace mozjs {
const JSFunctionSpec RegExpInfo::methods[2] = {
- MONGO_ATTACH_JS_FUNCTION(toJSON), JS_FS_END,
+ MONGO_ATTACH_JS_FUNCTION(toJSON),
+ JS_FS_END,
};
const char* const RegExpInfo::className = "RegExp";