diff options
author | Alex Neundorf <neundorf@kde.org> | 2011-08-18 16:53:14 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2011-08-18 16:53:14 (GMT) |
commit | 1879bcc09cb180efec041ccd5b1e42c47b790084 (patch) | |
tree | 4332d07c877fd87067e9f1f6e313d3be40229a15 /Source | |
parent | 678e12448140017f7b64c6307afb53b500910f46 (diff) | |
download | CMake-1879bcc09cb180efec041ccd5b1e42c47b790084.zip CMake-1879bcc09cb180efec041ccd5b1e42c47b790084.tar.gz CMake-1879bcc09cb180efec041ccd5b1e42c47b790084.tar.bz2 |
Fix build: use std::ios::out|ios::trunc instead of std::ios_base::out
Alex
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmQtAutomoc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmQtAutomoc.cxx b/Source/cmQtAutomoc.cxx index df09f37..7dd450e 100644 --- a/Source/cmQtAutomoc.cxx +++ b/Source/cmQtAutomoc.cxx @@ -245,7 +245,7 @@ void cmQtAutomoc::WriteOldMocDefinitionsFile(const char* targetDirectory) std::fstream outfile; outfile.open(filename.c_str(), - std::ios_base::out | std::ios_base::trunc); + std::ios::out | std::ios::trunc); outfile << "set(AM_OLD_MOC_DEFINITIONS \"" << this->Join(this->MocDefinitions, ' ') << "\")\n"; @@ -477,7 +477,7 @@ bool cmQtAutomoc::RunAutomocQt4() // source file that includes all remaining moc files (_automoc.cpp file) std::fstream outfile; outfile.open(this->OutMocCppFilename.c_str(), - std::ios_base::out | std::ios_base::trunc); + std::ios::out | std::ios::trunc); outfile << automocSource; outfile.close(); |