diff options
-rw-r--r-- | db/db.sln | 1 | ||||
-rw-r--r-- | db/jsobj.cpp | 2 | ||||
-rw-r--r-- | db/jsobj.h | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/db/db.sln b/db/db.sln index e12ae953199..eb4ccfc7a09 100644 --- a/db/db.sln +++ b/db/db.sln @@ -10,7 +10,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "examples", "examples", "{40 ..\client\examples\authTest.cpp = ..\client\examples\authTest.cpp
..\client\examples\clientTest.cpp = ..\client\examples\clientTest.cpp
..\client\examples\first.cpp = ..\client\examples\first.cpp
- ..\client\gridfs.cpp = ..\client\gridfs.cpp
..\client\gridfs.h = ..\client\gridfs.h
..\client\examples\second.cpp = ..\client\examples\second.cpp
..\client\examples\tutorial.cpp = ..\client\examples\tutorial.cpp
diff --git a/db/jsobj.cpp b/db/jsobj.cpp index 855e4e34dbf..fdc569cb980 100644 --- a/db/jsobj.cpp +++ b/db/jsobj.cpp @@ -1096,5 +1096,5 @@ namespace mongo { Labeler::Label LTE( "$lte" ); Labeler::Label NE( "$ne" ); Labeler::Label IN( "$in" ); - + } // namespace mongo diff --git a/db/jsobj.h b/db/jsobj.h index 9337be5bcd7..19390362480 100644 --- a/db/jsobj.h +++ b/db/jsobj.h @@ -774,7 +774,7 @@ namespace mongo { */ void endField( const char *nextFieldName = 0 ); - bool subobjStarted() const { return _fieldName; } + bool subobjStarted() const { return _fieldName != 0; } private: const char * _fieldName; |