summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-06-13 21:04:16 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-06-14 20:23:08 (GMT)
commiteb79fa726090410dbfceb64e29604320cc65d92f (patch)
treef0a219ba65457d8e5695b4c12dfb0f3d94e49603 /Source/cmGlobalNinjaGenerator.cxx
parent33f74dc5247328cc5b3d6239c65e869bcc35cd80 (diff)
downloadCMake-eb79fa726090410dbfceb64e29604320cc65d92f.zip
CMake-eb79fa726090410dbfceb64e29604320cc65d92f.tar.gz
CMake-eb79fa726090410dbfceb64e29604320cc65d92f.tar.bz2
Access std::ios_base with std::ios
Just because it is shorter.
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.cxx')
-rw-r--r--Source/cmGlobalNinjaGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx
index f74e835..3aec630 100644
--- a/Source/cmGlobalNinjaGenerator.cxx
+++ b/Source/cmGlobalNinjaGenerator.cxx
@@ -513,8 +513,8 @@ void cmGlobalNinjaGenerator::Generate()
this->WriteBuiltinTargets(*this->BuildFileStream);
if (cmSystemTools::GetErrorOccuredFlag()) {
- this->RulesFileStream->setstate(std::ios_base::failbit);
- this->BuildFileStream->setstate(std::ios_base::failbit);
+ this->RulesFileStream->setstate(std::ios::failbit);
+ this->BuildFileStream->setstate(std::ios::failbit);
}
this->CloseCompileCommandsStream();