Ver Fonte

cmPolicies: use character literals where possible

Ben Boeckel há 2 anos atrás
pai
commit
0c8a2c4a86
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      Source/cmPolicies.cxx

+ 2 - 2
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.  "