libstdc++: Fix names of types in comment
authorJonathan Wakely <jwakely@redhat.com>
Sun, 9 Feb 2020 13:58:16 +0000 (13:58 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Sun, 9 Feb 2020 14:00:23 +0000 (14:00 +0000)
* testsuite/20_util/function_objects/range.cmp/equal_to.cc: Fix
comment.
* testsuite/20_util/function_objects/range.cmp/less.ccL Likewise.

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/20_util/function_objects/range.cmp/equal_to.cc
libstdc++-v3/testsuite/20_util/function_objects/range.cmp/less.cc

index cc23523f57ae958d87a15c7a3934d64dbfe4dda3..d3c704ad0e89206b1f7237021b9c6a5a72afc840 100644 (file)
@@ -1,5 +1,9 @@
 2020-02-09  Jonathan Wakely  <jwakely@redhat.com>
 
+       * testsuite/20_util/function_objects/range.cmp/equal_to.cc: Fix
+       comment.
+       * testsuite/20_util/function_objects/range.cmp/less.ccL Likewise.
+
        * include/std/ranges: Fix non-ASCII characters in comment.
 
        * include/bits/range_cmp.h (__detail::__eq_builtin_ptr_cmp): Require
index 34f8ee5aca4e9d4f6e3eb49f058de57d690a4f4b..2d87b60a8ea59c0dd54a37e923c6c73124ed8d45 100644 (file)
@@ -75,7 +75,7 @@ struct Y
   operator int() const;
 };
 
-// X{} == X{} is ambiguous so ranges::equal_to{}(X{}, X{}) should be invalid
+// Y{} == Y{} is ambiguous so ranges::equal_to{}(Y{}, Y{}) should be invalid
 static_assert( !std::is_invocable_v<F&, Y, Y> );
 
 int
index bf7d600e7fea71530d903c92e0adc4d8e085f34c..8c04ad4ea6ba51c82773ffdf5c549ae4ad959c2a 100644 (file)
@@ -80,7 +80,7 @@ struct Y
   operator int() const;
 };
 
-// X{} == X{} is ambiguous so ranges::less{}(X{}, X{}) should be invalid
+// Y{} == Y{} is ambiguous so ranges::less{}(Y{}, Y{}) should be invalid
 static_assert( !std::is_invocable_v<F&, Y, Y> );
 
 int