Skip to content

Commit e9fd280

Browse files
Merge pull request #84198 from charles-zablit/charles-zablit/demangling/make-printRoot-virtual-to-6.2
🍒 [demangling] make printRoot virtual
2 parents 0ea43d8 + 74aed83 commit e9fd280

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/Demangling/Demangle.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ class NodePrinter {
871871

872872
virtual ~NodePrinter() = default;
873873

874-
void printRoot(NodePointer root) {
874+
virtual void printRoot(NodePointer root) {
875875
isValid = true;
876876
print(root, 0);
877877
}

0 commit comments

Comments
 (0)