diff options
author | Henrik Edin <henrik.edin@mongodb.com> | 2019-04-02 14:35:00 -0400 |
---|---|---|
committer | Henrik Edin <henrik.edin@mongodb.com> | 2019-04-03 13:28:21 -0400 |
commit | b63457c9e8597a6704b0fb015d827425585a5bef (patch) | |
tree | 7f8fb28deac3077c3e568a0d9ac4b808a7e3079b /src/mongo/db/catalog/index_catalog_entry.h | |
parent | 90d479b917e022ab0b7aa14a8d25ec12dfb99e65 (diff) | |
download | mongo-b63457c9e8597a6704b0fb015d827425585a5bef.tar.gz |
SERVER-40444 IndexCatalogEntry to use NamespaceString instead of plain string. This avoids converting between types later on.
Diffstat (limited to 'src/mongo/db/catalog/index_catalog_entry.h')
-rw-r--r-- | src/mongo/db/catalog/index_catalog_entry.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/index_catalog_entry.h b/src/mongo/db/catalog/index_catalog_entry.h index 5e80cefa661..6161c2feb90 100644 --- a/src/mongo/db/catalog/index_catalog_entry.h +++ b/src/mongo/db/catalog/index_catalog_entry.h @@ -62,7 +62,7 @@ public: inline IndexCatalogEntry(IndexCatalogEntry&&) = delete; inline IndexCatalogEntry& operator=(IndexCatalogEntry&&) = delete; - virtual const std::string& ns() const = 0; + virtual const NamespaceString& ns() const = 0; virtual void init(std::unique_ptr<IndexAccessMethod> accessMethod) = 0; |