diff options
author | Aaron <aaron@10gen.com> | 2009-05-28 14:43:32 -0400 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2009-05-28 14:43:32 -0400 |
commit | 0c2ab274ee2be1aadc0e616bb54a08545c3aa97e (patch) | |
tree | c89e2fe572b7f5426c7020ca5c47a5dc063cfc4b | |
parent | a9645eda8a3478d5fbff03545de0368e23f09b91 (diff) | |
download | mongo-0c2ab274ee2be1aadc0e616bb54a08545c3aa97e.tar.gz |
protect global undefined_ variable MINOR
-rw-r--r-- | shell/utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/utils.cpp b/shell/utils.cpp index 354f9c4ffec..ee876c62ef9 100644 --- a/shell/utils.cpp +++ b/shell/utils.cpp @@ -34,7 +34,7 @@ namespace mongo { b.appendUndefined( "" ); return b.obj(); } - BSONObj undefined_ = makeUndefined(); + const BSONObj undefined_ = makeUndefined(); BSONObj encapsulate( const BSONObj &obj ) { return BSON( "" << obj ); |