summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGeneratorCommon.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmQtAutoGeneratorCommon.cxx')
-rw-r--r--Source/cmQtAutoGeneratorCommon.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmQtAutoGeneratorCommon.cxx b/Source/cmQtAutoGeneratorCommon.cxx
index 1807514..3e1b58c 100644
--- a/Source/cmQtAutoGeneratorCommon.cxx
+++ b/Source/cmQtAutoGeneratorCommon.cxx
@@ -16,7 +16,7 @@ static std::string utilStripCR(std::string const& line)
{
// Strip CR characters rcc may have printed (possibly more than one!).
std::string::size_type cr = line.find('\r');
- if (cr != line.npos) {
+ if (cr != std::string::npos) {
return line.substr(0, cr);
}
return line;