]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Fix non-ASCII characters in <contracts> header
authorJonathan Wakely <jwakely@redhat.com>
Thu, 29 Jan 2026 12:12:45 +0000 (12:12 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 29 Jan 2026 12:13:43 +0000 (12:13 +0000)
This fixes:
FAIL: 17_intro/headers/c++1998/charset.cc  -std=gnu++26 (test for excess errors)

libstdc++-v3/ChangeLog:

* include/std/contracts: Replace non-ASCII characters.

libstdc++-v3/include/std/contracts

index 2cf67ac1dd8802d2cec9bbe1aa79f81564648cc6..0fd9b10247eac38b98feb054d78348ad8a72a617 100644 (file)
@@ -52,7 +52,7 @@ namespace contracts
     post = 2,
     assert = 3,
 
-    /* Implementationdefined values should have a minimum value of 1000. */
+    /* Implementation-defined values should have a minimum value of 1000. */
   };
 
   enum class evaluation_semantic : __UINT16_TYPE__ {
@@ -61,14 +61,14 @@ namespace contracts
     enforce = 3,
     quick_enforce = 4,
 
-    /* Implementationdefined values should have a minimum value of 1000.  */
+    /* Implementation-defined values should have a minimum value of 1000.  */
   };
 
   enum class detection_mode : __UINT16_TYPE__ {
     predicate_false = 1,
     evaluation_exception = 2,
 
-    /* Implementationdefined values should have a minimum value of 1000. */
+    /* Implementation-defined values should have a minimum value of 1000. */
   };
 
   using __vendor_ext = void;