aboutsummaryrefslogtreecommitdiff
path: root/lib/MC/MCLoggingStreamer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MC/MCLoggingStreamer.cpp')
-rw-r--r--lib/MC/MCLoggingStreamer.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/MC/MCLoggingStreamer.cpp b/lib/MC/MCLoggingStreamer.cpp
index d947481383..012c7f62f8 100644
--- a/lib/MC/MCLoggingStreamer.cpp
+++ b/lib/MC/MCLoggingStreamer.cpp
@@ -48,10 +48,9 @@ public:
return Child->AddBlankLine();
}
- virtual void SwitchSection(const MCSection *Section) {
- CurSection = Section;
- LogCall("SwitchSection");
- return Child->SwitchSection(Section);
+ virtual void ChangeSection(const MCSection *Section) {
+ LogCall("ChangeSection");
+ return Child->ChangeSection(Section);
}
virtual void InitSections() {