fix initializer ordering for irrXml.
parent
f51b9378b1
commit
783430667b
|
@ -28,14 +28,23 @@ template<class char_type, class superclass>
|
||||||
class CXMLReaderImpl : public IIrrXMLReader<char_type, superclass>
|
class CXMLReaderImpl : public IIrrXMLReader<char_type, superclass>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
//! Constructor
|
//! Constructor
|
||||||
CXMLReaderImpl(IFileReadCallBack* callback, bool deleteCallBack = true)
|
CXMLReaderImpl(IFileReadCallBack* callback, bool deleteCallBack = true)
|
||||||
: TextData(0), P(0), TextSize(0), TextBegin(0), CurrentNodeType(EXN_NONE),
|
: TextData(0)
|
||||||
SourceFormat(ETF_ASCII), TargetFormat(ETF_ASCII)
|
, P(0)
|
||||||
{
|
, TextBegin(0)
|
||||||
if (!callback)
|
, TextSize(0)
|
||||||
|
, CurrentNodeType(EXN_NONE)
|
||||||
|
, SourceFormat(ETF_ASCII)
|
||||||
|
, TargetFormat(ETF_ASCII)
|
||||||
|
, NodeName ()
|
||||||
|
, EmptyString()
|
||||||
|
, IsEmptyElement(false)
|
||||||
|
, SpecialCharacters()
|
||||||
|
, Attributes() {
|
||||||
|
if (!callback) {
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
storeTargetFormat();
|
storeTargetFormat();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue