diff options
Diffstat (limited to 'src/mongo/db/dbhelpers.h')
-rw-r--r-- | src/mongo/db/dbhelpers.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/dbhelpers.h b/src/mongo/db/dbhelpers.h index be0ca859248..865543c74f9 100644 --- a/src/mongo/db/dbhelpers.h +++ b/src/mongo/db/dbhelpers.h @@ -41,6 +41,7 @@ namespace mongo { class Collection; class Cursor; class OperationContext; + struct WriteConcernOptions; /** * db helpers are helper functions and classes that let us easily manipulate the local @@ -164,8 +165,8 @@ namespace mongo { */ static long long removeRange( OperationContext* txn, const KeyRange& range, - bool maxInclusive = false, - bool secondaryThrottle = false, + bool maxInclusive, + const WriteConcernOptions& secondaryThrottle, RemoveSaver* callback = NULL, bool fromMigrate = false, bool onlyRemoveOrphanedDocs = false ); |