summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratedFileStream.cxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2018-12-06 21:52:39 (GMT)
committerRegina Pfeifer <regina@mailbox.org>2018-12-15 09:51:47 (GMT)
commit32cb564bea57af007d03fa31d80a0177057fc901 (patch)
tree0badd6e8b6eeddc8a967ffa3fe3de158fb3e650d /Source/cmGeneratedFileStream.cxx
parent7ffa6bf99972a980d995081a66b858eaaca9db7e (diff)
downloadCMake-32cb564bea57af007d03fa31d80a0177057fc901.zip
CMake-32cb564bea57af007d03fa31d80a0177057fc901.tar.gz
CMake-32cb564bea57af007d03fa31d80a0177057fc901.tar.bz2
clang-tidy: Remove redundant member initializations
Diffstat (limited to 'Source/cmGeneratedFileStream.cxx')
-rw-r--r--Source/cmGeneratedFileStream.cxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/Source/cmGeneratedFileStream.cxx b/Source/cmGeneratedFileStream.cxx
index 186ec8c..789a399 100644
--- a/Source/cmGeneratedFileStream.cxx
+++ b/Source/cmGeneratedFileStream.cxx
@@ -12,8 +12,6 @@
#endif
cmGeneratedFileStream::cmGeneratedFileStream(Encoding encoding)
- : cmGeneratedFileStreamBase()
- , Stream()
{
#ifdef CMAKE_BUILD_WITH_CMAKE
if (encoding != codecvt::None) {
@@ -105,9 +103,7 @@ void cmGeneratedFileStream::SetCompressionExtraExtension(bool ext)
}
cmGeneratedFileStreamBase::cmGeneratedFileStreamBase()
- : Name()
- , TempName()
- , CopyIfDifferent(false)
+ : CopyIfDifferent(false)
, Okay(false)
, Compress(false)
, CompressExtraExtension(true)
@@ -115,9 +111,7 @@ cmGeneratedFileStreamBase::cmGeneratedFileStreamBase()
}
cmGeneratedFileStreamBase::cmGeneratedFileStreamBase(std::string const& name)
- : Name()
- , TempName()
- , CopyIfDifferent(false)
+ : CopyIfDifferent(false)
, Okay(false)
, Compress(false)
, CompressExtraExtension(true)