summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.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/cmMakefile.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/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index c9192fd..b03bac7 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -3387,7 +3387,7 @@ int cmMakefile::ConfigureFile(const char* infile, const char* outfile,
}
} else {
std::string newLineCharacters;
- std::ios_base::openmode omode = std::ios_base::out | std::ios_base::trunc;
+ std::ios::openmode omode = std::ios::out | std::ios::trunc;
if (newLine.IsValid()) {
newLineCharacters = newLine.GetCharacters();
omode |= std::ios::binary;