diff options
author | Gabriel Russell <gabriel.russell@mongodb.com> | 2019-01-30 16:35:10 +0000 |
---|---|---|
committer | Gabriel Russell <gabriel.russell@mongodb.com> | 2019-01-30 19:06:17 +0000 |
commit | d80755651cbd268c7db03ebba914051428fedeb4 (patch) | |
tree | edeef955820a96d615876729dfa6e03ff021ea16 /src/mongo/scripting/mozjs/numberdecimal.cpp | |
parent | 6dc4072453b4ba17fed636f049c10cf1316357bb (diff) | |
download | mongo-d80755651cbd268c7db03ebba914051428fedeb4.tar.gz |
SERVER-29286 import and use mozjs-60
Diffstat (limited to 'src/mongo/scripting/mozjs/numberdecimal.cpp')
-rw-r--r-- | src/mongo/scripting/mozjs/numberdecimal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/scripting/mozjs/numberdecimal.cpp b/src/mongo/scripting/mozjs/numberdecimal.cpp index 8f6ebfb21ea..c928b95c9f1 100644 --- a/src/mongo/scripting/mozjs/numberdecimal.cpp +++ b/src/mongo/scripting/mozjs/numberdecimal.cpp @@ -52,7 +52,7 @@ const JSFunctionSpec NumberDecimalInfo::methods[3] = { const char* const NumberDecimalInfo::className = "NumberDecimal"; -void NumberDecimalInfo::finalize(JSFreeOp* fop, JSObject* obj) { +void NumberDecimalInfo::finalize(js::FreeOp* fop, JSObject* obj) { auto x = static_cast<Decimal128*>(JS_GetPrivate(obj)); if (x) |