From bce7328b597443df77855e6afd587c268ced91f4 Mon Sep 17 00:00:00 2001 From: Ivan Komissarov Date: Wed, 7 Aug 2019 13:35:13 +0200 Subject: Use different names for virtual functions in INodeVisitor This fixes compiler warnings about hidden virtual functions in derived classes Change-Id: I3b53d07263f66133a41353eb6cfe05e1f3b20cc3 Reviewed-by: Denis Shienkov Reviewed-by: Christian Kandeler --- src/lib/corelib/generators/xmlprojectwriter.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lib/corelib/generators/xmlprojectwriter.h') diff --git a/src/lib/corelib/generators/xmlprojectwriter.h b/src/lib/corelib/generators/xmlprojectwriter.h index da4100a92..8198de61c 100644 --- a/src/lib/corelib/generators/xmlprojectwriter.h +++ b/src/lib/corelib/generators/xmlprojectwriter.h @@ -52,11 +52,11 @@ protected: QXmlStreamWriter *writer() const; private: - void visitStart(const Property *property) final; - void visitEnd(const Property *property) final; + void visitPropertyStart(const Property *property) final; + void visitPropertyEnd(const Property *property) final; - void visitStart(const PropertyGroup *propertyGroup) final; - void visitEnd(const PropertyGroup *propertyGroup) final; + void visitPropertyGroupStart(const PropertyGroup *propertyGroup) final; + void visitPropertyGroupEnd(const PropertyGroup *propertyGroup) final; std::ostream *m_device = nullptr; QByteArray m_buffer; -- cgit v1.2.3