summaryrefslogtreecommitdiff
path: root/src/mongo/db/namespace_string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/namespace_string.cpp')
-rw-r--r--src/mongo/db/namespace_string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/namespace_string.cpp b/src/mongo/db/namespace_string.cpp
index 6e0868f31c4..0375f5f9900 100644
--- a/src/mongo/db/namespace_string.cpp
+++ b/src/mongo/db/namespace_string.cpp
@@ -172,7 +172,7 @@ bool NamespaceString::isLegalClientSystemNS(
if (coll() == kSystemDotViewsCollectionName)
return true;
if (currentFCV.isGreaterThanOrEqualTo(
- ServerGlobalParams::FeatureCompatibility::Version::kVersion47) &&
+ multiversion::FeatureCompatibilityVersion::kVersion_4_7) &&
// While this FCV check is being added in 4.9, the namespace was allowed in 4.7 binaries
// without an FCV check.
isTemporaryReshardingCollection()) {