diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-12-15 09:50:35 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-12-15 09:50:35 -0500 |
commit | c022b54c08674e575c05589c525dea65dbbbb696 (patch) | |
tree | ef3484abec2a0e1eb40f2aa104c4ac188f5b52d5 /scripting/engine_v8.cpp | |
parent | 845360735a617684a4b3cafe8d8632cc64695493 (diff) | |
download | mongo-c022b54c08674e575c05589c525dea65dbbbb696.tar.gz |
init( BSONObj* ) can be const *
Diffstat (limited to 'scripting/engine_v8.cpp')
-rw-r--r-- | scripting/engine_v8.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/engine_v8.cpp b/scripting/engine_v8.cpp index cb32f7c24cf..df9dcc9ffe3 100644 --- a/scripting/engine_v8.cpp +++ b/scripting/engine_v8.cpp @@ -140,7 +140,7 @@ namespace mongo { // ---- global stuff ---- - void V8Scope::init( BSONObj * data ){ + void V8Scope::init( const BSONObj * data ){ V8Lock l; if ( ! data ) return; |