Skip to content

Commit 9d4c480

Browse files
Merge pull request #84197 from charles-zablit/charles-zablit/demangling/make-printRoot-virtual
🍒 [demangling] make printRoot virtual
2 parents b09d2ca + 710fe1b commit 9d4c480

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)