summaryrefslogtreecommitdiff
path: root/src/mongo/s/transaction_router.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/transaction_router.h')
-rw-r--r--src/mongo/s/transaction_router.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/transaction_router.h b/src/mongo/s/transaction_router.h
index 3d6be675077..b31be66cc5d 100644
--- a/src/mongo/s/transaction_router.h
+++ b/src/mongo/s/transaction_router.h
@@ -594,7 +594,7 @@ public:
*/
void _setReadOnlyForParticipant(OperationContext* opCtx,
const ShardId& shard,
- const Participant::ReadOnly readOnly);
+ Participant::ReadOnly readOnly);
/**
* Updates relevant metrics when the router receives an explicit abort from the client.