From 0c8a2c4a86afdd1e196318b7cd7c8635b6158871 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Mon, 24 Jul 2023 13:46:33 -0400 Subject: cmPolicies: use character literals where possible --- Source/cmPolicies.cxx | 4 ++-- 1 file 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. " -- cgit v0.12