diff options
author | Sanika Phanse <sanika.phanse@mongodb.com> | 2021-10-27 17:56:17 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-10-27 19:00:20 +0000 |
commit | 050d5432400617aa88df8763d48bd50270910d46 (patch) | |
tree | b8eddebfadd3cc01b0777fa7bf3cf01cc4c3664b /src/mongo | |
parent | 35073b37f2a165acbfc224db276b1afcb428c687 (diff) | |
download | mongo-050d5432400617aa88df8763d48bd50270910d46.tar.gz |
SERVER-60648 Coverity analysis defect 120937: Parse warning
Diffstat (limited to 'src/mongo')
-rw-r--r-- | src/mongo/db/logical_session_id.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/logical_session_id.h b/src/mongo/db/logical_session_id.h index bbc57770eb8..354a2e1aa26 100644 --- a/src/mongo/db/logical_session_id.h +++ b/src/mongo/db/logical_session_id.h @@ -147,11 +147,11 @@ public: return bob.obj(); } - const TxnNumber getTxnNumber() const { + TxnNumber getTxnNumber() const { return _txnNumber; } - const boost::optional<TxnRetryCounter> getTxnRetryCounter() const { + boost::optional<TxnRetryCounter> getTxnRetryCounter() const { return _txnRetryCounter; } |