summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkInformation.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2020-04-08 15:53:18 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2020-04-13 15:26:03 (GMT)
commit59b7adddc4e2c52a6783714c3844be62131ceea2 (patch)
treef7b3792a8c6af811d8c4e991dd53689d8ade3ad2 /Source/cmComputeLinkInformation.cxx
parent80edc2cd8a22e05e8e0f690d615a06ecf25f3446 (diff)
downloadCMake-59b7adddc4e2c52a6783714c3844be62131ceea2.zip
CMake-59b7adddc4e2c52a6783714c3844be62131ceea2.tar.gz
CMake-59b7adddc4e2c52a6783714c3844be62131ceea2.tar.bz2
nits: replace some "c" instances with 'c'
Diffstat (limited to 'Source/cmComputeLinkInformation.cxx')
-rw-r--r--Source/cmComputeLinkInformation.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx
index de81f13..4d297e8 100644
--- a/Source/cmComputeLinkInformation.cxx
+++ b/Source/cmComputeLinkInformation.cxx
@@ -1003,10 +1003,10 @@ std::string cmComputeLinkInformation::NoCaseExpression(const char* str)
if (*s == '.') {
ret += *s;
} else {
- ret += "[";
+ ret += '[';
ret += static_cast<char>(tolower(*s));
ret += static_cast<char>(toupper(*s));
- ret += "]";
+ ret += ']';
}
s++;
}