summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentation.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-06-13 20:56:48 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-06-14 20:28:55 (GMT)
commitab8b77dd33e9a13551af402b2cf7ee3aaa5486b8 (patch)
tree8cc5d93cc2140ea0e282b3f99932c9d01d9a6f81 /Source/cmDocumentation.cxx
parenteb79fa726090410dbfceb64e29604320cc65d92f (diff)
downloadCMake-ab8b77dd33e9a13551af402b2cf7ee3aaa5486b8.zip
CMake-ab8b77dd33e9a13551af402b2cf7ee3aaa5486b8.tar.gz
CMake-ab8b77dd33e9a13551af402b2cf7ee3aaa5486b8.tar.bz2
Remove redundant arguments from fstream constructors
Don't pass the default value of the openmode parameter explicitly.
Diffstat (limited to 'Source/cmDocumentation.cxx')
-rw-r--r--Source/cmDocumentation.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx
index 68a8488..413dacd 100644
--- a/Source/cmDocumentation.cxx
+++ b/Source/cmDocumentation.cxx
@@ -140,7 +140,7 @@ bool cmDocumentation::PrintRequestedDocumentation(std::ostream& os)
cmsys::ofstream* fout = 0;
std::ostream* s = &os;
if (!i->Filename.empty()) {
- fout = new cmsys::ofstream(i->Filename.c_str(), std::ios::out);
+ fout = new cmsys::ofstream(i->Filename.c_str());
if (fout) {
s = fout;
} else {