summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathisbessamdb <mathis.bessa@mongodb.com>2023-05-16 16:53:22 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-05-16 18:47:32 +0000
commit744678da09dcab9885ae6af3e368864387fbfb82 (patch)
tree2a578135bc3390a316af3995f000561c4735ae92
parent6d34f15ca68a6c3e7ec67e5c75cce4d6bbf51aee (diff)
downloadmongo-744678da09dcab9885ae6af3e368864387fbfb82.tar.gz
SERVER-74925 Remove NamespaceStringOrUUID constructor that takes in tenantid and db string
-rw-r--r--src/mongo/db/namespace_string.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/db/namespace_string.h b/src/mongo/db/namespace_string.h
index c42362ac632..dfcf6fe6af2 100644
--- a/src/mongo/db/namespace_string.h
+++ b/src/mongo/db/namespace_string.h
@@ -968,8 +968,6 @@ public:
: NamespaceStringOrUUID{static_cast<const NamespaceString&>(nss)} {}
NamespaceStringOrUUID(DatabaseName dbname, UUID uuid)
: _uuid(std::move(uuid)), _dbname(std::move(dbname)) {}
- NamespaceStringOrUUID(boost::optional<TenantId> tenantId, std::string db, UUID uuid)
- : _uuid(std::move(uuid)), _dbname(DatabaseName(std::move(tenantId), std::move(db))) {}
// TODO SERVER-65920 Remove once all call sites have been changed to take tenantId explicitly
NamespaceStringOrUUID(std::string db,
UUID uuid,