diff options
author | Brad King <brad.king@kitware.com> | 2001-03-16 16:14:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-03-16 16:14:08 (GMT) |
commit | 553457a4a48248d067fa545283642bb6ef91c593 (patch) | |
tree | 46c23e4526c5c67bc677ba6abfe91aa8f3b8f390 | |
parent | 2d26d0be684b15e4f0a664093b45201cda665010 (diff) | |
download | CMake-553457a4a48248d067fa545283642bb6ef91c593.zip CMake-553457a4a48248d067fa545283642bb6ef91c593.tar.gz CMake-553457a4a48248d067fa545283642bb6ef91c593.tar.bz2 |
ERR: Re-ordered declaration of members v. order of initialization on the constructor to match each other.
-rw-r--r-- | Source/cmCableData.cxx | 6 | ||||
-rw-r--r-- | 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. */ |