diff options
Diffstat (limited to 'src/mongo/db/pipeline/document_source_single_document_transformation.h')
-rw-r--r-- | src/mongo/db/pipeline/document_source_single_document_transformation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source_single_document_transformation.h b/src/mongo/db/pipeline/document_source_single_document_transformation.h index 5e09b34e639..3b91a979046 100644 --- a/src/mongo/db/pipeline/document_source_single_document_transformation.h +++ b/src/mongo/db/pipeline/document_source_single_document_transformation.h @@ -53,7 +53,7 @@ public: class TransformerInterface { public: virtual ~TransformerInterface() = default; - virtual Document applyTransformation(Document input) = 0; + virtual Document applyTransformation(const Document& input) = 0; virtual void optimize() = 0; virtual Document serialize(boost::optional<ExplainOptions::Verbosity> explain) const = 0; virtual DocumentSource::GetDepsReturn addDependencies(DepsTracker* deps) const = 0; |