summaryrefslogtreecommitdiff
path: root/src/mongo/db/field_parser.cpp
diff options
context:
space:
mode:
authorAlberto Lerner <alerner@10gen.com>2013-09-01 14:43:08 -0400
committerAlberto Lerner <alerner@10gen.com>2013-09-12 10:51:48 -0400
commite82786a9f03cb18e924f72f787e184740576111b (patch)
treecdcc1b7922a994fd681e2cfb234fe645414822f9 /src/mongo/db/field_parser.cpp
parent98c273d6a9a0aa62182e46ef5c45ed5549d7ce04 (diff)
downloadmongo-e82786a9f03cb18e924f72f787e184740576111b.tar.gz
SERVER-10521 Types for write commands.
Diffstat (limited to 'src/mongo/db/field_parser.cpp')
-rw-r--r--src/mongo/db/field_parser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/field_parser.cpp b/src/mongo/db/field_parser.cpp
index 7b7d7521966..7c91c2004d3 100644
--- a/src/mongo/db/field_parser.cpp
+++ b/src/mongo/db/field_parser.cpp
@@ -220,9 +220,9 @@ namespace mongo {
}
FieldParser::FieldState FieldParser::extractNumber(BSONObj doc,
- const BSONField<int>& field,
- int* out,
- string* errMsg)
+ const BSONField<int>& field,
+ int* out,
+ string* errMsg)
{
BSONElement elem = doc[field.name()];
if (elem.eoo()) {