diff options
author | Qingyang Chen <qingyang.chen@10gen.com> | 2015-06-24 15:44:52 -0400 |
---|---|---|
committer | Qingyang Chen <qingyang.chen@10gen.com> | 2015-06-26 16:50:26 -0400 |
commit | badc2ac4496c47ae2bbdebf47888a1a5449a22a1 (patch) | |
tree | 5b4f1fbc76af3301048ecc14233c1e1143d11b0e /src/mongo/db/matcher/expression_geo.h | |
parent | 9ad1597c2d2ead08a74bd8f53a8458d0f7cb3987 (diff) | |
download | mongo-badc2ac4496c47ae2bbdebf47888a1a5449a22a1.tar.gz |
SERVER-16889 MatchExpression::shallowClone() return unique_ptr<ME>
Diffstat (limited to 'src/mongo/db/matcher/expression_geo.h')
-rw-r--r-- | src/mongo/db/matcher/expression_geo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/matcher/expression_geo.h b/src/mongo/db/matcher/expression_geo.h index 197bb794973..7cbb6fcbfe8 100644 --- a/src/mongo/db/matcher/expression_geo.h +++ b/src/mongo/db/matcher/expression_geo.h @@ -94,7 +94,7 @@ public: virtual bool equivalent(const MatchExpression* other) const; - virtual LeafMatchExpression* shallowClone() const; + virtual std::unique_ptr<MatchExpression> shallowClone() const; const GeoExpression& getGeoExpression() const { return *_query; @@ -168,7 +168,7 @@ public: virtual bool equivalent(const MatchExpression* other) const; - virtual LeafMatchExpression* shallowClone() const; + virtual std::unique_ptr<MatchExpression> shallowClone() const; const GeoNearExpression& getData() const { return *_query; |