diff options
author | Jason Carey <jcarey@argv.me> | 2015-09-23 11:11:40 -0400 |
---|---|---|
committer | Jason Carey <jcarey@argv.me> | 2015-10-06 19:28:19 -0400 |
commit | b7104c6f2f597335c6b9890ff6b80243625a6258 (patch) | |
tree | 8107d9b98344574c7bd541619c1fcb5b727b0eb2 /src/mongo/scripting/mozjs/valuereader.h | |
parent | e5f65d77a33e5116adb965549deb51ab3ed0a462 (diff) | |
download | mongo-b7104c6f2f597335c6b9890ff6b80243625a6258.tar.gz |
SERVER-20564 no default getOwned for BSON in JS
Diffstat (limited to 'src/mongo/scripting/mozjs/valuereader.h')
-rw-r--r-- | src/mongo/scripting/mozjs/valuereader.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/scripting/mozjs/valuereader.h b/src/mongo/scripting/mozjs/valuereader.h index 223600aa5e4..f67b313b628 100644 --- a/src/mongo/scripting/mozjs/valuereader.h +++ b/src/mongo/scripting/mozjs/valuereader.h @@ -47,8 +47,8 @@ public: */ ValueReader(JSContext* cx, JS::MutableHandleValue value); - void fromBSONElement(const BSONElement& elem, bool readOnly); - void fromBSON(const BSONObj& obj, bool readOnly); + void fromBSONElement(const BSONElement& elem, const BSONObj& parent, bool readOnly); + void fromBSON(const BSONObj& obj, const BSONObj* parent, bool readOnly); void fromStringData(StringData sd); void fromDecimal128(Decimal128 decimal); |