diff options
author | Ryan Egesdahl <ryan.egesdahl@mongodb.com> | 2022-03-03 15:05:58 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-03-03 16:30:55 +0000 |
commit | 3e50ef2b069bb09ab9e718730b55f4febe5e4b8e (patch) | |
tree | d1bbbc5af1eb207ec37b156ba8bba6948362df02 /src/mongo/db/pipeline | |
parent | 65cf760916f7fe0e3d06f5e06a53e0a96b24d947 (diff) | |
download | mongo-3e50ef2b069bb09ab9e718730b55f4febe5e4b8e.tar.gz |
SERVER-64124 Limit instantiation of AccumulatorTopBottomN template
Diffstat (limited to 'src/mongo/db/pipeline')
-rw-r--r-- | src/mongo/db/pipeline/accumulator_multi.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/accumulator_multi.h b/src/mongo/db/pipeline/accumulator_multi.h index 141623ac795..554123924cc 100644 --- a/src/mongo/db/pipeline/accumulator_multi.h +++ b/src/mongo/db/pipeline/accumulator_multi.h @@ -332,4 +332,10 @@ private: boost::optional<SortKeyComparator> _sortKeyComparator; boost::optional<std::multimap<Value, Value, std::function<bool(Value, Value)>>> _map; }; + +extern template class AccumulatorTopBottomN<TopBottomSense::kBottom, false>; +extern template class AccumulatorTopBottomN<TopBottomSense::kBottom, true>; +extern template class AccumulatorTopBottomN<TopBottomSense::kTop, false>; +extern template class AccumulatorTopBottomN<TopBottomSense::kTop, true>; + } // namespace mongo |