summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsFortran.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/cmDependsFortran.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/cmDependsFortran.cxx')
-rw-r--r--Source/cmDependsFortran.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmDependsFortran.cxx b/Source/cmDependsFortran.cxx
index a20fb98..bbda688 100644
--- a/Source/cmDependsFortran.cxx
+++ b/Source/cmDependsFortran.cxx
@@ -633,8 +633,8 @@ bool cmDependsFortran::ModulesDiffer(const char* modFile,
cmsys::ifstream finModFile(modFile, std::ios::in | std::ios::binary);
cmsys::ifstream finStampFile(stampFile, std::ios::in | std::ios::binary);
#else
- cmsys::ifstream finModFile(modFile, std::ios::in);
- cmsys::ifstream finStampFile(stampFile, std::ios::in);
+ cmsys::ifstream finModFile(modFile);
+ cmsys::ifstream finStampFile(stampFile);
#endif
if (!finModFile || !finStampFile) {
// At least one of the files does not exist. The modules differ.