diff options
author | Will Buerger <will.buerger@mongodb.com> | 2023-03-14 20:49:09 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-03-16 19:20:45 +0000 |
commit | a9a20593fd1c3106548650bfc909d26dab2e38a4 (patch) | |
tree | 9121911fdcfc6ebd2fec8d31df02f554d970c3bc /src/mongo/db/pipeline/document_source_internal_unpack_bucket.h | |
parent | 9662f3c9edfd52ce4c9b0cad619bed57562a3daa (diff) | |
download | mongo-a9a20593fd1c3106548650bfc909d26dab2e38a4.tar.gz |
SERVER-74843 Remove overloaded document source serializers and change signature to use SerializationOptions
Diffstat (limited to 'src/mongo/db/pipeline/document_source_internal_unpack_bucket.h')
-rw-r--r-- | src/mongo/db/pipeline/document_source_internal_unpack_bucket.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/src/mongo/db/pipeline/document_source_internal_unpack_bucket.h b/src/mongo/db/pipeline/document_source_internal_unpack_bucket.h index 3e000d2a247..03627b3f735 100644 --- a/src/mongo/db/pipeline/document_source_internal_unpack_bucket.h +++ b/src/mongo/db/pipeline/document_source_internal_unpack_bucket.h @@ -75,24 +75,14 @@ public: return kStageNameInternal.rawData(); } - void serializeToArray( - std::vector<Value>& array, - boost::optional<ExplainOptions::Verbosity> explain = boost::none) const final; - void serializeToArray(std::vector<Value>& array, - SerializationOptions opts) const final override { - MONGO_UNIMPLEMENTED; - }; + SerializationOptions opts = SerializationOptions()) const final override; /** * Use 'serializeToArray' above. */ - Value serialize(boost::optional<ExplainOptions::Verbosity> explain = boost::none) const final { - MONGO_UNREACHABLE; - } - - Value serialize(SerializationOptions opts) const final override { - MONGO_UNIMPLEMENTED; + Value serialize(SerializationOptions opts = SerializationOptions()) const final override { + MONGO_UNREACHABLE_TASSERT(7484305); } bool includeMetaField() const { |