From 553457a4a48248d067fa545283642bb6ef91c593 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 16 Mar 2001 11:14:08 -0500 Subject: ERR: Re-ordered declaration of members v. order of initialization on the constructor to match each other. --- Source/cmCableData.cxx | 6 +++--- Source/cmCableData.h | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Source/cmCableData.cxx b/Source/cmCableData.cxx index ca9eda0..0c00581 100644 --- a/Source/cmCableData.cxx +++ b/Source/cmCableData.cxx @@ -25,12 +25,12 @@ cmCableData::cmCableData(const cmCableCommand* owner, const std::string& configurationFile): m_Owner(owner), + m_OutputFileName(configurationFile), + m_OutputFile(configurationFile.c_str()), m_Indentation(0), m_Package(NULL), m_PackageNamespaceDepth(0), - m_PackageClassIndex(-1), - m_OutputFileName(configurationFile), - m_OutputFile(m_OutputFileName.c_str()) + m_PackageClassIndex(-1) { this->InitializeOutputFile(); } diff --git a/Source/cmCableData.h b/Source/cmCableData.h index 7dd5cc7..84223b4 100644 --- a/Source/cmCableData.h +++ b/Source/cmCableData.h @@ -79,22 +79,22 @@ private: * The cmCableCommand which created this instance of cmCableCommand. */ const cmCableCommand* m_Owner; - - /** - * Current indentation for output. - */ - Indentation m_Indentation; - + /** * The name of the output file opened as m_OutputFile. */ - std::string m_OutputFileName; + std::string m_OutputFileName; /** * The output file to which the configuration is written. */ std::ofstream m_OutputFile; - + + /** + * Current indentation for output. + */ + Indentation m_Indentation; + /** * The stack of namespaces. */ -- cgit v0.12