diff options
author | Mathias Stearn <mathias@10gen.com> | 2011-12-30 17:52:01 -0500 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2011-12-30 17:52:01 -0500 |
commit | 090e37b08b55d785429ad62925b8ad1386c7bfeb (patch) | |
tree | 90809390463461c0ccf5c04b6affb844ca8d4355 /src/mongo/db/instance.h | |
parent | 8d9c9ac80c10786bf0d3e4c57a80608c9f89f595 (diff) | |
download | mongo-090e37b08b55d785429ad62925b8ad1386c7bfeb.tar.gz |
Compile cleanly with -Werror on clang++ 3.0.
Warnings:
* incrementing a bool (deprecated)
* hiding virtual method with overload (usually incorrect signature)
* operator ?: and << precedence issues
Diffstat (limited to 'src/mongo/db/instance.h')
-rw-r--r-- | src/mongo/db/instance.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/instance.h b/src/mongo/db/instance.h index 9dde729997d..c4089bbda66 100644 --- a/src/mongo/db/instance.h +++ b/src/mongo/db/instance.h @@ -129,7 +129,7 @@ namespace mongo { class DBDirectClient : public DBClientBase { public: virtual auto_ptr<DBClientCursor> query(const string &ns, Query query, int nToReturn = 0, int nToSkip = 0, - const BSONObj *fieldsToReturn = 0, int queryOptions = 0); + const BSONObj *fieldsToReturn = 0, int queryOptions = 0, int batchSize = 0); virtual bool isFailed() const { return false; |