summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/collection_mock.h
diff options
context:
space:
mode:
authorXiangyu Yao <xiangyu.yao@mongodb.com>2019-07-11 18:37:42 -0400
committerXiangyu Yao <xiangyu.yao@mongodb.com>2019-07-15 13:30:02 -0400
commit70a3df4dd5d102b2370a871c9182be281100a487 (patch)
tree4101519c5505800900caf30b1730c5fc6cdaeb5a /src/mongo/db/catalog/collection_mock.h
parentbb4ba528dd4254c33ac77026f94bc287b590ff3c (diff)
downloadmongo-70a3df4dd5d102b2370a871c9182be281100a487.tar.gz
SERVER-42194 Make Collection always hold a UUID (rather than optional UUID)
Diffstat (limited to 'src/mongo/db/catalog/collection_mock.h')
-rw-r--r--src/mongo/db/catalog/collection_mock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/catalog/collection_mock.h b/src/mongo/db/catalog/collection_mock.h
index cb78c52b72f..19eb457bd7a 100644
--- a/src/mongo/db/catalog/collection_mock.h
+++ b/src/mongo/db/catalog/collection_mock.h
@@ -273,7 +273,7 @@ public:
std::abort();
}
- OptionalCollectionUUID uuid() const {
+ UUID uuid() const {
return _uuid;
}
@@ -282,7 +282,7 @@ public:
}
private:
- OptionalCollectionUUID _uuid = UUID::gen();
+ UUID _uuid = UUID::gen();
NamespaceString _ns;
std::unique_ptr<IndexCatalog> _indexCatalog;
};