diff options
Diffstat (limited to 'src/mongo/db/namespace_string.h')
-rw-r--r-- | src/mongo/db/namespace_string.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/namespace_string.h b/src/mongo/db/namespace_string.h index 1582a7083d7..9a1d433a564 100644 --- a/src/mongo/db/namespace_string.h +++ b/src/mongo/db/namespace_string.h @@ -195,7 +195,7 @@ public: // type is incomplete, they can't be _declared_ fully constexpr (a constexpr // limitation). #define NSS_CONSTANT(id, db, coll) static const ConstantProxy id; -#include "namespace_string_reserved.def.h" +#include "namespace_string_reserved.def.h" // IWYU pragma: keep #undef NSS_CONSTANT /** @@ -1139,14 +1139,14 @@ inline bool NamespaceString::validCollectionName(StringData coll) { namespace nss_detail::const_proxy_shared_states { #define NSS_CONSTANT(id, db, coll) \ constexpr inline NamespaceString::ConstantProxy::SharedState id{db, coll}; -#include "namespace_string_reserved.def.h" +#include "namespace_string_reserved.def.h" // IWYU pragma: keep #undef NSS_CONSTANT } // namespace nss_detail::const_proxy_shared_states #define NSS_CONSTANT(id, db, coll) \ constexpr inline NamespaceString::ConstantProxy NamespaceString::id{ \ &nss_detail::const_proxy_shared_states::id}; -#include "namespace_string_reserved.def.h" +#include "namespace_string_reserved.def.h" // IWYU pragma: keep #undef NSS_CONSTANT } // namespace mongo |