summaryrefslogtreecommitdiff
path: root/src/mongo/s/catalog/type_collection.h
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2020-11-15 03:35:08 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-11-16 15:53:59 +0000
commita2fb8664bfc09a7b970f5de8188b4478ff64fc23 (patch)
tree7eff805d3131bf971772570a564f78fd94a6ab82 /src/mongo/s/catalog/type_collection.h
parentc87fcc64bead3fad53f63f434d4a2c14219e58bd (diff)
downloadmongo-a2fb8664bfc09a7b970f5de8188b4478ff64fc23.tar.gz
SERVER-52872 Remove StatusWith methods from ShardingCatalogClient
As a side-effect also removes some of the legacy "fromBSON" parsing from CollectionType in an effort to make it behave more IDL-like.
Diffstat (limited to 'src/mongo/s/catalog/type_collection.h')
-rw-r--r--src/mongo/s/catalog/type_collection.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/s/catalog/type_collection.h b/src/mongo/s/catalog/type_collection.h
index 6cb529db88e..afdde889824 100644
--- a/src/mongo/s/catalog/type_collection.h
+++ b/src/mongo/s/catalog/type_collection.h
@@ -113,8 +113,6 @@ public:
CollectionType() = default;
- static StatusWith<CollectionType> fromBSON(const BSONObj& obj);
-
std::string toString() const;
const OID& getEpoch() const {