ERR: Re-ordered declaration of members v. order of initialization on the constructor to match each other.

This commit is contained in:
Brad King 2001-03-16 11:14:08 -05:00
parent 2d26d0be68
commit 553457a4a4
2 changed files with 13 additions and 13 deletions

View File

@ -25,12 +25,12 @@
cmCableData::cmCableData(const cmCableCommand* owner, cmCableData::cmCableData(const cmCableCommand* owner,
const std::string& configurationFile): const std::string& configurationFile):
m_Owner(owner), m_Owner(owner),
m_OutputFileName(configurationFile),
m_OutputFile(configurationFile.c_str()),
m_Indentation(0), m_Indentation(0),
m_Package(NULL), m_Package(NULL),
m_PackageNamespaceDepth(0), m_PackageNamespaceDepth(0),
m_PackageClassIndex(-1), m_PackageClassIndex(-1)
m_OutputFileName(configurationFile),
m_OutputFile(m_OutputFileName.c_str())
{ {
this->InitializeOutputFile(); this->InitializeOutputFile();
} }

View File

@ -80,11 +80,6 @@ private:
*/ */
const cmCableCommand* m_Owner; const cmCableCommand* m_Owner;
/**
* Current indentation for output.
*/
Indentation m_Indentation;
/** /**
* The name of the output file opened as m_OutputFile. * The name of the output file opened as m_OutputFile.
*/ */
@ -95,6 +90,11 @@ private:
*/ */
std::ofstream m_OutputFile; std::ofstream m_OutputFile;
/**
* Current indentation for output.
*/
Indentation m_Indentation;
/** /**
* The stack of namespaces. * The stack of namespaces.
*/ */