diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2021-10-20 16:36:13 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-10-20 17:24:22 +0000 |
commit | d881f91800f3d213df8348a6acacdad9dff174da (patch) | |
tree | 09f3781ebb7db9caca98a8153aec8aa21d6f15dd /src/mongo/db/s/collection_metadata.h | |
parent | 0273057add47dde4575aa794edc07f8c7520d0d8 (diff) | |
download | mongo-d881f91800f3d213df8348a6acacdad9dff174da.tar.gz |
SERVER-31540 Get rid of boost::optional<UUID> from sharding code
Diffstat (limited to 'src/mongo/db/s/collection_metadata.h')
-rw-r--r-- | src/mongo/db/s/collection_metadata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/collection_metadata.h b/src/mongo/db/s/collection_metadata.h index aeae9303eb5..4cf162648b5 100644 --- a/src/mongo/db/s/collection_metadata.h +++ b/src/mongo/db/s/collection_metadata.h @@ -151,7 +151,7 @@ public: return _cm->uuidMatches(uuid); } - boost::optional<UUID> getUUID() const { + const UUID& getUUID() const { return _cm->getUUID(); } |