summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-07-24 17:46:33 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2023-07-24 17:54:40 (GMT)
commit0c8a2c4a86afdd1e196318b7cd7c8635b6158871 (patch)
tree19f8aa34762e9de6f9553f946b5e5af28442ac21 /Source
parent0cb4f08ddfd6612d3f7a31608519f9a8dcd85b4b (diff)
downloadCMake-0c8a2c4a86afdd1e196318b7cd7c8635b6158871.zip
CMake-0c8a2c4a86afdd1e196318b7cd7c8635b6158871.tar.gz
CMake-0c8a2c4a86afdd1e196318b7cd7c8635b6158871.tar.bz2
cmPolicies: use character literals where possible
Diffstat (limited to 'Source')
-rw-r--r--Source/cmPolicies.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmPolicies.cxx b/Source/cmPolicies.cxx
index ae07b89..119d908 100644
--- a/Source/cmPolicies.cxx
+++ b/Source/cmPolicies.cxx
@@ -123,10 +123,10 @@ static void DiagnoseAncientPolicies(
{
std::ostringstream e;
e << "The project requests behavior compatible with CMake version \""
- << majorVer << "." << minorVer << "." << patchVer
+ << majorVer << '.' << minorVer << '.' << patchVer
<< "\", which requires the OLD behavior for some policies:\n";
for (cmPolicies::PolicyID i : ancient) {
- e << " " << idToString(i) << ": " << idToShortDescription(i) << "\n";
+ e << " " << idToString(i) << ": " << idToShortDescription(i) << '\n';
}
e << "However, this version of CMake no longer supports the OLD "
"behavior for these policies. "