@@ -158,8 +158,8 @@ std::vector<std::shared_ptr<Node>> CascadeBuilder::HandleSuccess(const size_t cu
158158 return valid_subtrees;
159159}
160160
161- void PrettyPrint (const std::shared_ptr<Node>& node, const std::string& prefix, bool isLeft, std::ostream& os ,
162- RawFilterDisjunction& rf_data ) {
161+ void PrettyPrint (const std::shared_ptr<Node>& node, RawFilterDisjunction& rf_data, const std::string& prefix ,
162+ bool isLeft, std::ostream& os ) {
163163 if (!node) {
164164 // Print "NULL" or some placeholder for an empty child.
165165 os << prefix << (isLeft ? " ├── " : " └── " ) << " NULL\n " ;
@@ -177,6 +177,6 @@ void PrettyPrint(const std::shared_ptr<Node>& node, const std::string& prefix, b
177177 auto newPrefix = prefix + (isLeft ? " │ " : " " );
178178
179179 // Recursively print left and right subtrees.
180- PrettyPrint (node->left , newPrefix, true , os);
181- PrettyPrint (node->right , newPrefix, false , os);
180+ PrettyPrint (node->left , rf_data, newPrefix, true , os);
181+ PrettyPrint (node->right , rf_data, newPrefix, false , os);
182182}
0 commit comments