summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheahuychou Mao <mao.cheahuychou@gmail.com>2022-05-20 20:54:21 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-05-23 16:35:29 +0000
commitd40fcdc9d86ac0302318d538325dcaf9a9cc084a (patch)
treeaaa415f460c8f79e9430d36540e95195bdd8a0b4
parentaaa27a3f0fd75994584b7e5e4c08fcd86bb8af38 (diff)
downloadmongo-d40fcdc9d86ac0302318d538325dcaf9a9cc084a.tar.gz
SERVER-66616 Fix clang_tidy error on enterprise-rhel80-dynamic-clang-tidy-v4 caused by getHighestTxnNumberWithChildSessions()
(cherry picked from commit 7ed954527e31d60097561b9cc438cbdc0c9f5ce2)
-rw-r--r--src/mongo/db/session_catalog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/session_catalog.h b/src/mongo/db/session_catalog.h
index 7e81169a704..43fc2251c2d 100644
--- a/src/mongo/db/session_catalog.h
+++ b/src/mongo/db/session_catalog.h
@@ -338,7 +338,7 @@ public:
* corresponds to that has one or more child transaction sessions being tracked in the
* SessionCatalog.
*/
- const TxnNumber getHighestTxnNumberWithChildSessions() const {
+ TxnNumber getHighestTxnNumberWithChildSessions() const {
return _sri->highestTxnNumberWithChildSessions;
}