diff options
Diffstat (limited to 'scripting/engine_spidermonkey.cpp')
-rw-r--r-- | scripting/engine_spidermonkey.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/engine_spidermonkey.cpp b/scripting/engine_spidermonkey.cpp index 4b395f560b2..670ccd2cf5e 100644 --- a/scripting/engine_spidermonkey.cpp +++ b/scripting/engine_spidermonkey.cpp @@ -45,7 +45,7 @@ namespace mongo { } boost::thread_specific_ptr<SMScope> currentScope( dontDeleteScope ); - boost::recursive_mutex smmutex; + boost::recursive_mutex &smmutex = *( new boost::recursive_mutex ); #define smlock recursive_boostlock ___lk( smmutex ); #define GETHOLDER(x,o) ((BSONHolder*)JS_GetPrivate( x , o )) |