diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-06-13 20:56:48 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-06-14 20:28:55 (GMT) |
commit | ab8b77dd33e9a13551af402b2cf7ee3aaa5486b8 (patch) | |
tree | 8cc5d93cc2140ea0e282b3f99932c9d01d9a6f81 /Source/cmGlobalGenerator.cxx | |
parent | eb79fa726090410dbfceb64e29604320cc65d92f (diff) | |
download | CMake-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/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index aef3f44..536c5d2 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -2571,7 +2571,7 @@ void cmGlobalGenerator::CheckRuleHashes(std::string const& pfile, #if defined(_WIN32) || defined(__CYGWIN__) cmsys::ifstream fin(pfile.c_str(), std::ios::in | std::ios::binary); #else - cmsys::ifstream fin(pfile.c_str(), std::ios::in); + cmsys::ifstream fin(pfile.c_str()); #endif if (!fin) { return; |