Mercurial > hg > svapp
diff framework/SVFileReader.h @ 634:163573a73ebe fix-static-analysis
Use override throughout
author | Chris Cannam |
---|---|
date | Mon, 26 Nov 2018 13:53:26 +0000 |
parents | 10046d544e76 |
children | 26a0cb8335e3 |
line wrap: on
line diff
--- a/framework/SVFileReader.h Thu Nov 22 14:55:43 2018 +0000 +++ b/framework/SVFileReader.h Mon Nov 26 13:53:26 2018 +0000 @@ -181,19 +181,19 @@ // For loading a single layer onto an existing pane void setCurrentPane(Pane *pane) { m_currentPane = pane; } - virtual bool startElement(const QString &namespaceURI, + bool startElement(const QString &namespaceURI, const QString &localName, const QString &qName, - const QXmlAttributes& atts); + const QXmlAttributes& atts) override; - virtual bool characters(const QString &); + bool characters(const QString &) override; - virtual bool endElement(const QString &namespaceURI, + bool endElement(const QString &namespaceURI, const QString &localName, - const QString &qName); + const QString &qName) override; - bool error(const QXmlParseException &exception); - bool fatalError(const QXmlParseException &exception); + bool error(const QXmlParseException &exception) override; + bool fatalError(const QXmlParseException &exception) override; enum FileType {