diff options
author | Charlie Swanson <charlie.swanson@mongodb.com> | 2016-11-29 15:39:47 -0500 |
---|---|---|
committer | Charlie Swanson <charlie.swanson@mongodb.com> | 2016-12-01 14:54:36 -0500 |
commit | 5a58e613d59febb9c32ae1940cbb8663cabe5095 (patch) | |
tree | b6c1f6c6bee3ab47de655d2810d0bf172ef19020 /src/mongo/db/pipeline/value.h | |
parent | 894e4d0e71c94d2fcf9848a45bde2d64c8ad6c3a (diff) | |
download | mongo-5a58e613d59febb9c32ae1940cbb8663cabe5095.tar.gz |
SERVER-27213 Recompute dependencies when joining matches
Diffstat (limited to 'src/mongo/db/pipeline/value.h')
-rw-r--r-- | src/mongo/db/pipeline/value.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/value.h b/src/mongo/db/pipeline/value.h index 544cce0d604..7997188bfde 100644 --- a/src/mongo/db/pipeline/value.h +++ b/src/mongo/db/pipeline/value.h @@ -103,7 +103,8 @@ public: explicit Value(const Document& doc) : _storage(Object, doc) {} explicit Value(const BSONObj& obj); explicit Value(const BSONArray& arr); - explicit Value(const std::vector<BSONObj>& arr); + explicit Value(const std::vector<BSONObj>& vec); + explicit Value(const std::vector<Document>& vec); explicit Value(std::vector<Value> vec) : _storage(Array, new RCVector(std::move(vec))) {} explicit Value(const BSONBinData& bd) : _storage(BinData, bd) {} explicit Value(const BSONRegEx& re) : _storage(RegEx, re) {} |