diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-07-22 22:38:35 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-07-22 22:38:35 -0400 |
commit | a23b97a6907251e7b3849182b1fe9f83878f7677 (patch) | |
tree | 74338555aa60189d01a1cd5e39c3384d647c9e52 /db/instance.cpp | |
parent | eb00d7ce6e70531035d9b2a649026565ce02002e (diff) | |
download | mongo-a23b97a6907251e7b3849182b1fe9f83878f7677.tar.gz |
cleaning remove flags
Diffstat (limited to 'db/instance.cpp')
-rw-r--r-- | db/instance.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/instance.cpp b/db/instance.cpp index 698447013b6..6733b71477e 100644 --- a/db/instance.cpp +++ b/db/instance.cpp @@ -465,7 +465,7 @@ namespace mongo { assert(*ns); uassert( 10056 , "not master", isMasterNs( ns ) ); int flags = d.pullInt(); - bool justOne = flags & 1; + bool justOne = flags & RemoveOption_JustOne; assert( d.moreJSObjs() ); BSONObj pattern = d.nextJsObj(); { |