diff --git a/duckpgq/include/duckpgq/functions/tablefunctions/match.hpp b/duckpgq/include/duckpgq/functions/tablefunctions/match.hpp index aa2cd542..fcc85920 100644 --- a/duckpgq/include/duckpgq/functions/tablefunctions/match.hpp +++ b/duckpgq/include/duckpgq/functions/tablefunctions/match.hpp @@ -58,7 +58,7 @@ struct PGQMatchFunction : public TableFunction { static unique_ptr CreateCountCTESubquery(); - static unique_ptr + static unique_ptr CreateCSRCTE(const shared_ptr &edge_table, const string &edge_binding, const string &prev_binding, const string &next_binding); diff --git a/duckpgq/src/duckpgq/functions/tablefunctions/match.cpp b/duckpgq/src/duckpgq/functions/tablefunctions/match.cpp index 35a48546..ca6ca6f7 100644 --- a/duckpgq/src/duckpgq/functions/tablefunctions/match.cpp +++ b/duckpgq/src/duckpgq/functions/tablefunctions/match.cpp @@ -237,7 +237,7 @@ unique_ptr PGQMatchFunction::CreateCountCTESubquery() { return temp_cte_select_subquery; } -unique_ptr +unique_ptr PGQMatchFunction::CreateCSRCTE(const shared_ptr &edge_table, const string &prev_binding, const string &edge_binding, @@ -355,7 +355,7 @@ PGQMatchFunction::CreateCSRCTE(const shared_ptr &edge_table, auto outer_select_statement = make_uniq(); outer_select_statement->node = std::move(outer_select_node); - auto csr_subquery = make_uniq(); + auto csr_subquery = make_uniq(); csr_subquery->subquery = std::move(outer_select_statement); return csr_subquery; }