diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2014-10-04 20:19:13 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2014-10-04 20:20:04 (GMT) |
commit | 42e39bb37d874e2bd71f982c213a5f1de5a7bf3d (patch) | |
tree | 0c8efb111426c7da7f51ddec3a3b04c291bf6700 /Source/cmQtAutoGenerators.cxx | |
parent | c5fdca7c17ea9afe8b88ea50f178ae6dff233de8 (diff) | |
download | CMake-42e39bb37d874e2bd71f982c213a5f1de5a7bf3d.zip CMake-42e39bb37d874e2bd71f982c213a5f1de5a7bf3d.tar.gz CMake-42e39bb37d874e2bd71f982c213a5f1de5a7bf3d.tar.bz2 |
Fix a few more places to use cmsys::[io]fstream instead of std::fstream.
Diffstat (limited to 'Source/cmQtAutoGenerators.cxx')
-rw-r--r-- | Source/cmQtAutoGenerators.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx index cb070cc..93ebde6 100644 --- a/Source/cmQtAutoGenerators.cxx +++ b/Source/cmQtAutoGenerators.cxx @@ -1180,9 +1180,9 @@ cmQtAutoGenerators::WriteOldMocDefinitionsFile( cmSystemTools::ConvertToUnixSlashes(filename); filename += "/AutomocOldMocDefinitions.cmake"; - std::fstream outfile; + cmsys::ofstream outfile; outfile.open(filename.c_str(), - std::ios::out | std::ios::trunc); + std::ios::trunc); outfile << "set(AM_OLD_COMPILE_SETTINGS " << cmLocalGenerator::EscapeForCMake( this->CurrentCompileSettingsStr) << ")\n"; @@ -1451,9 +1451,9 @@ bool cmQtAutoGenerators::RunAutogen(cmMakefile* makefile) } // source file that includes all remaining moc files (_automoc.cpp file) - std::fstream outfile; + cmsys::ofstream outfile; outfile.open(this->OutMocCppFilename.c_str(), - std::ios::out | std::ios::trunc); + std::ios::trunc); outfile << automocSource; outfile.close(); |