summaryrefslogtreecommitdiff
path: root/src/mongo/db/server_options.h
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@10gen.com>2018-02-26 11:50:46 -0500
committerDianna Hohensee <dianna.hohensee@10gen.com>2018-02-26 16:23:02 -0500
commita7ec3a3a5023618f7b1a37743e76651536f63c17 (patch)
tree14aa60f68043c2b333fc18a81de0b440bcbb2c56 /src/mongo/db/server_options.h
parentd6c49820b590d23b7d09ef4d8aba2218a7181dd2 (diff)
downloadmongo-a7ec3a3a5023618f7b1a37743e76651536f63c17.tar.gz
SERVER-33486 coverity fix for 'const bool' function return type that should just be 'bool'
Diffstat (limited to 'src/mongo/db/server_options.h')
-rw-r--r--src/mongo/db/server_options.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/server_options.h b/src/mongo/db/server_options.h
index d5c2e141826..7c146b7b063 100644
--- a/src/mongo/db/server_options.h
+++ b/src/mongo/db/server_options.h
@@ -215,7 +215,7 @@ struct ServerGlobalParams {
return _version.store(version);
}
- const bool isVersionUpgradingOrUpgraded() {
+ bool isVersionUpgradingOrUpgraded() {
return (getVersion() == Version::kUpgradingTo40 ||
getVersion() == Version::kFullyUpgradedTo40);
}