From db6cb668dce856830184693edac36aa3a882ab85 Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <github@naumov.de> Date: Sat, 20 Mar 2021 21:26:22 +0100 Subject: [PATCH] [BL/IO] Make internally used members private. Not accessed by derived classes. --- BaseLib/IO/XmlIO/Qt/XMLQtInterface.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/BaseLib/IO/XmlIO/Qt/XMLQtInterface.h b/BaseLib/IO/XmlIO/Qt/XMLQtInterface.h index 5a9d4843a4a..1dc95c44691 100644 --- a/BaseLib/IO/XmlIO/Qt/XMLQtInterface.h +++ b/BaseLib/IO/XmlIO/Qt/XMLQtInterface.h @@ -44,13 +44,14 @@ protected: /// If no hash file exists, the xml-file is validated and a hash file is written if the xml-file was valid. bool checkHash() const; - QString _schemaFile; - /// Caches the actual file contents when reading. QByteArray _fileData; + +private: /// The actual file name when reading. QString _fileName; + QString _schemaFile; }; } // end namespace IO -- GitLab