summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-06-14 11:37:21 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2023-06-14 11:37:21 +0000
commit1e23f41356bbac19857ced2fbd585bad422428ee (patch)
treebef3f8fa28e8c0900d0a595f612ef562622a12e1
parentd9b9a3589f7f0403badb393dd0586b7d406ef02b (diff)
Add explicit copy constructor
-rw-r--r--searchlib/src/vespa/searchlib/aggregation/groupinglevel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/searchlib/src/vespa/searchlib/aggregation/groupinglevel.h b/searchlib/src/vespa/searchlib/aggregation/groupinglevel.h
index df446cc2019..d3d09aff97a 100644
--- a/searchlib/src/vespa/searchlib/aggregation/groupinglevel.h
+++ b/searchlib/src/vespa/searchlib/aggregation/groupinglevel.h
@@ -59,6 +59,8 @@ private:
: SingleValueGrouper(grouping, level),
_currentIndex(currentIndex)
{ }
+ MultiValueGrouper(const MultiValueGrouper &) = default; //TODO Try to remove
+ MultiValueGrouper & operator=(const MultiValueGrouper &) = delete;
private:
template<typename Doc>
void groupDoc(Group & group, const ResultNode & result, const Doc & doc, HitRank rank) const;