summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/dist_lock_manager_replset.h
diff options
context:
space:
mode:
authorDaniel Moody <daniel.moody@mongodb.com>2021-07-29 15:28:20 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-08-02 23:52:53 +0000
commit27f328ad14b8fbc006c5c4103becd0f6a3aaaa5c (patch)
treedf483a3165f012efe9c395e4bae67aa8097fe1ab /src/mongo/db/s/dist_lock_manager_replset.h
parenteae9041c1c1320a15a6b13f3f1d4770a2b96e085 (diff)
downloadmongo-27f328ad14b8fbc006c5c4103becd0f6a3aaaa5c.tar.gz
SERVER-57446 fix clang-tidy header issues and add header-filter
Diffstat (limited to 'src/mongo/db/s/dist_lock_manager_replset.h')
-rw-r--r--src/mongo/db/s/dist_lock_manager_replset.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/dist_lock_manager_replset.h b/src/mongo/db/s/dist_lock_manager_replset.h
index 564eac82fae..830d80c889c 100644
--- a/src/mongo/db/s/dist_lock_manager_replset.h
+++ b/src/mongo/db/s/dist_lock_manager_replset.h
@@ -103,7 +103,7 @@ private:
* the lock expiration threshold.
*/
StatusWith<bool> isLockExpired(OperationContext* opCtx,
- const LocksType lockDoc,
+ LocksType lockDoc,
const Milliseconds& lockExpiration);
long long _waitForRecovery(OperationContext* opCtx);