Skip to content

Commit

Permalink
[IR] Fix QueryGraphs swap method.
Browse files Browse the repository at this point in the history
Add missing data members.
  • Loading branch information
JorisNix committed Feb 13, 2024
1 parent e9291cf commit 1b61c8f
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions include/mutable/IR/QueryGraph.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,16 @@ struct M_EXPORT QueryGraph
public:
friend void swap(QueryGraph &first, QueryGraph &second) {
using std::swap;
swap(first.sources_, second.sources_);
swap(first.joins_, second.joins_);
swap(first.group_by_, second.group_by_);
swap(first.projections_, second.projections_);
swap(first.order_by_, second.order_by_);
swap(first.limit_, second.limit_);
swap(first.sources_, second.sources_);
swap(first.joins_, second.joins_);
swap(first.group_by_, second.group_by_);
swap(first.aggregates_, second.aggregates_);
swap(first.projections_, second.projections_);
swap(first.order_by_, second.order_by_);
swap(first.limit_, second.limit_);
swap(first.adjacency_matrix_, second.adjacency_matrix_);
swap(first.t_, second.t_);
swap(first.custom_filter_exprs_, second.custom_filter_exprs_);
}

QueryGraph();
Expand Down

0 comments on commit 1b61c8f

Please sign in to comment.