diff options
author | Spencer Jackson <spencer.jackson@mongodb.com> | 2015-03-27 12:29:35 -0400 |
---|---|---|
committer | Spencer Jackson <spencer.jackson@mongodb.com> | 2015-03-27 12:29:35 -0400 |
commit | cc6d1c899ad351e5e2ed1fde8cd08f8bccd2c91d (patch) | |
tree | 1b47bc0e734a80d35c114a10d31d230d22d9615b | |
parent | 6fa5d192e7552753d69846dd1c4b86c4c80cbe58 (diff) | |
download | mongo-cc6d1c899ad351e5e2ed1fde8cd08f8bccd2c91d.tar.gz |
SERVER-17647: fix incorrect use of C++11 in the v3.0 branch
-rw-r--r-- | src/mongo/scripting/v8-3.25_db.cpp | 4 | ||||
-rw-r--r-- | src/mongo/scripting/v8_db.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/scripting/v8-3.25_db.cpp b/src/mongo/scripting/v8-3.25_db.cpp index 4cd70b5d967..aaf3c67efe8 100644 --- a/src/mongo/scripting/v8-3.25_db.cpp +++ b/src/mongo/scripting/v8-3.25_db.cpp @@ -843,8 +843,8 @@ namespace mongo { // length property stores the decoded length it->ForceSet(scope->v8StringData("len"), v8::Number::New(scope->getIsolate(), tmpBase64.length()), - v8::PropertyAttribute::ReadOnly); - it->ForceSet(scope->v8StringData("type"), type, v8::PropertyAttribute::ReadOnly); + v8::ReadOnly); + it->ForceSet(scope->v8StringData("type"), type, v8::ReadOnly); it->SetInternalField(0, args[1]); return it; diff --git a/src/mongo/scripting/v8_db.cpp b/src/mongo/scripting/v8_db.cpp index f0defe687eb..c4fe4050551 100644 --- a/src/mongo/scripting/v8_db.cpp +++ b/src/mongo/scripting/v8_db.cpp @@ -884,8 +884,8 @@ namespace mongo { string tmpBase64 = base64::decode(*utf); // length property stores the decoded length it->ForceSet(scope->v8StringData("len"), v8::Number::New(tmpBase64.length()), - v8::PropertyAttribute::ReadOnly); - it->ForceSet(scope->v8StringData("type"), type, v8::PropertyAttribute::ReadOnly); + v8::ReadOnly); + it->ForceSet(scope->v8StringData("type"), type, v8::ReadOnly); it->SetInternalField(0, args[1]); return it; |