summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-05-26 01:08:36 -0400
committerEliot Horowitz <eliot@10gen.com>2010-05-26 01:08:36 -0400
commite1188a3c61cee63ff4274251ffa319409a30485e (patch)
tree8f388b12b74c4fcf3c5c956b9b2f0a8c9737c5c6 /scripting
parent39f1354781b48ab08fe2cd2ee9a7997baf09589f (diff)
parent4a91c2c8b2c0913691e3114fdaa27852364fb142 (diff)
downloadmongo-e1188a3c61cee63ff4274251ffa319409a30485e.tar.gz
Merge branch 'master' of github.com:mongodb/mongo
Conflicts: scripting/engine_spidermonkey.cpp
Diffstat (limited to 'scripting')
-rw-r--r--scripting/engine.cpp2
-rw-r--r--scripting/engine_spidermonkey.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripting/engine.cpp b/scripting/engine.cpp
index 3da3941d642..b18ab3b8e77 100644
--- a/scripting/engine.cpp
+++ b/scripting/engine.cpp
@@ -228,7 +228,7 @@ namespace mongo {
class ScopeCache {
public:
- ScopeCache(){
+ ScopeCache() : _mutex("ScopeCache") {
_magic = 17;
}
diff --git a/scripting/engine_spidermonkey.cpp b/scripting/engine_spidermonkey.cpp
index a5e495f0b31..408679cd19b 100644
--- a/scripting/engine_spidermonkey.cpp
+++ b/scripting/engine_spidermonkey.cpp
@@ -669,7 +669,7 @@ namespace mongo {
}
}
- log() << "toval: unknown type: " << (int)(e.type()) << endl;
+ log() << "toval: unknown type: " << (int) e.type() << endl;
uassert( 10218 , "not done: toval" , 0 );
return 0;
}