diff options
Diffstat (limited to 'src/mongo/db/catalog/collection.h')
-rw-r--r-- | src/mongo/db/catalog/collection.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/catalog/collection.h b/src/mongo/db/catalog/collection.h index d5956382f91..eabc8dfdfa9 100644 --- a/src/mongo/db/catalog/collection.h +++ b/src/mongo/db/catalog/collection.h @@ -255,8 +255,8 @@ public: * If errors occor (including WCE), caller should retry documents individually. */ Status insertDocuments(OperationContext* txn, - std::vector<BSONObj>::iterator begin, - std::vector<BSONObj>::iterator end, + std::vector<BSONObj>::const_iterator begin, + std::vector<BSONObj>::const_iterator end, bool enforceQuota, bool fromMigrate = false); @@ -440,8 +440,8 @@ private: Status _insertDocument(OperationContext* txn, const BSONObj& doc, bool enforceQuota); Status _insertDocuments(OperationContext* txn, - std::vector<BSONObj>::iterator begin, - std::vector<BSONObj>::iterator end, + std::vector<BSONObj>::const_iterator begin, + std::vector<BSONObj>::const_iterator end, bool enforceQuota); bool _enforceQuota(bool userEnforeQuota) const; |