summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/parsed_update.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/ops/parsed_update.h')
-rw-r--r--src/mongo/db/ops/parsed_update.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/ops/parsed_update.h b/src/mongo/db/ops/parsed_update.h
index 8ce08aaabc3..3c0cf015c94 100644
--- a/src/mongo/db/ops/parsed_update.h
+++ b/src/mongo/db/ops/parsed_update.h
@@ -107,7 +107,7 @@ public:
/**
* Releases ownership of the canonical query to the caller.
*/
- CanonicalQuery* releaseParsedQuery();
+ std::unique_ptr<CanonicalQuery> releaseParsedQuery();
private:
/**