Base: modernize C++: use default member init
This commit is contained in:
@@ -214,11 +214,11 @@ public:
|
||||
//@}
|
||||
|
||||
/// Schema Version of the document
|
||||
int DocumentSchema;
|
||||
int DocumentSchema{0};
|
||||
/// Version of FreeCAD that wrote this document
|
||||
std::string ProgramVersion;
|
||||
/// Version of the file format
|
||||
int FileVersion;
|
||||
int FileVersion{0};
|
||||
|
||||
/// sets simultaneously the global and local PartialRestore bits
|
||||
void setPartialRestore(bool on);
|
||||
@@ -278,10 +278,10 @@ protected:
|
||||
//@}
|
||||
|
||||
|
||||
int Level;
|
||||
int Level{0};
|
||||
std::string LocalName;
|
||||
std::string Characters;
|
||||
unsigned int CharacterCount;
|
||||
unsigned int CharacterCount{0};
|
||||
std::streamsize CharacterOffset{-1};
|
||||
|
||||
std::map<std::string,std::string> AttrMap;
|
||||
@@ -297,14 +297,14 @@ protected:
|
||||
EndElement,
|
||||
StartCDATA,
|
||||
EndCDATA
|
||||
} ReadType;
|
||||
} ReadType{None};
|
||||
|
||||
|
||||
FileInfo _File;
|
||||
XERCES_CPP_NAMESPACE_QUALIFIER SAX2XMLReader* parser;
|
||||
XERCES_CPP_NAMESPACE_QUALIFIER XMLPScanToken token;
|
||||
bool _valid;
|
||||
bool _verbose;
|
||||
bool _valid{false};
|
||||
bool _verbose{true};
|
||||
|
||||
std::vector<std::string> FileNames;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user