summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/operation_sharding_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/operation_sharding_state.h')
-rw-r--r--src/mongo/db/s/operation_sharding_state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/operation_sharding_state.h b/src/mongo/db/s/operation_sharding_state.h
index c77b11ead07..a8b31541cab 100644
--- a/src/mongo/db/s/operation_sharding_state.h
+++ b/src/mongo/db/s/operation_sharding_state.h
@@ -132,7 +132,7 @@ public:
* If 'db' matches the 'db' in the namespace the client sent versions for, returns the database
* version sent by the client (if any), else returns boost::none.
*/
- boost::optional<DatabaseVersion> getDbVersion(const StringData dbName) const;
+ boost::optional<DatabaseVersion> getDbVersion(StringData dbName) const;
/**
* This call is a no op if there isn't a currently active migration critical section. Otherwise