summaryrefslogtreecommitdiff
path: root/src/mongo/s/is_mongos.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/is_mongos.h')
-rw-r--r--src/mongo/s/is_mongos.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/is_mongos.h b/src/mongo/s/is_mongos.h
index e72068624cf..c3d1c26a560 100644
--- a/src/mongo/s/is_mongos.h
+++ b/src/mongo/s/is_mongos.h
@@ -39,7 +39,7 @@ bool isMongos();
/**
* Set the global state flag indicating whether the running process is `mongos` or not.
*/
-void setMongos(const bool state = true);
+void setMongos(bool state = true);
/**
* Returns whether this node is config server or a shard.