summaryrefslogtreecommitdiff
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorPavel Solodovnikov <hellyeahdominate@gmail.com>2017-05-30 22:46:05 +0300
committerBrad King <brad.king@kitware.com>2017-06-01 14:19:52 -0400
commitdb2d46e2ddbdf1c5d942e70b341e085f84e79c13 (patch)
tree37d613c818fcf588664ea3ac6cacc83d9966b176 /Source/cmGlobalGenerator.cxx
parent8b6f439ef20cf882b4f3deba48f34a01a98963d9 (diff)
downloadcmake-db2d46e2ddbdf1c5d942e70b341e085f84e79c13.tar.gz
Remove second arg: npos in substr usages
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 19597fdd5b..67e272ded6 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -2730,7 +2730,7 @@ void cmGlobalGenerator::CheckRuleHashes(std::string const& pfile,
}
// Get the filename.
- fname = line.substr(33, std::string::npos);
+ fname = line.substr(33);
// Look for a hash for this file's rule.
std::map<std::string, RuleHash>::const_iterator rhi =