Skip to content

Commit 1b61c8f

Browse files
committed
[IR] Fix QueryGraphs swap method.
Add missing data members.
1 parent e9291cf commit 1b61c8f

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

include/mutable/IR/QueryGraph.hpp

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,16 @@ struct M_EXPORT QueryGraph
196196
public:
197197
friend void swap(QueryGraph &first, QueryGraph &second) {
198198
using std::swap;
199-
swap(first.sources_, second.sources_);
200-
swap(first.joins_, second.joins_);
201-
swap(first.group_by_, second.group_by_);
202-
swap(first.projections_, second.projections_);
203-
swap(first.order_by_, second.order_by_);
204-
swap(first.limit_, second.limit_);
199+
swap(first.sources_, second.sources_);
200+
swap(first.joins_, second.joins_);
201+
swap(first.group_by_, second.group_by_);
202+
swap(first.aggregates_, second.aggregates_);
203+
swap(first.projections_, second.projections_);
204+
swap(first.order_by_, second.order_by_);
205+
swap(first.limit_, second.limit_);
206+
swap(first.adjacency_matrix_, second.adjacency_matrix_);
207+
swap(first.t_, second.t_);
208+
swap(first.custom_filter_exprs_, second.custom_filter_exprs_);
205209
}
206210

207211
QueryGraph();

0 commit comments

Comments
 (0)