libstdc++: Fix copy&paste comments in vector range tests

These comments were copied from the std::vector<bool> tests, but the
value_type is not bool in these ones.

libstdc++-v3/ChangeLog:

	* testsuite/23_containers/vector/cons/from_range.cc: Fix copy &
	paste error in comment.
	* testsuite/23_containers/vector/modifiers/append_range.cc:
	Likewise.
	* testsuite/23_containers/vector/modifiers/assign/assign_range.cc:
	Likewise.
	* testsuite/23_containers/vector/modifiers/insert/insert_range.cc:
	Likewise.
This commit is contained in:
Jonathan Wakely 2024-10-30 19:27:54 +00:00 committed by Jonathan Wakely
parent 96566cc46d
commit 5e26a340b2
No known key found for this signature in database
4 changed files with 4 additions and 4 deletions

View file

@ -80,7 +80,7 @@ test_ranges()
do_test_a<test_forward_range<short>>();
do_test_a<test_input_range<short>>();
// Not lvalue-convertible to bool
// Not lvalue-convertible to int
struct C {
C(int v) : val(v) { }
operator int() && { return val; }

View file

@ -69,7 +69,7 @@ test_ranges()
do_test_a<test_forward_range<short>>();
do_test_a<test_input_range<short>>();
// Not lvalue-convertible to bool
// Not lvalue-convertible to int
struct C {
C(int v) : val(v) { }
operator int() && { return val; }

View file

@ -90,7 +90,7 @@ test_ranges()
do_test_a<test_forward_range<short>>();
do_test_a<test_input_range<short>>();
// Not lvalue-convertible to bool
// Not lvalue-convertible to int
struct C {
C(int v) : val(v) { }
operator int() && { return val; }

View file

@ -80,7 +80,7 @@ test_ranges()
do_test_a<test_forward_range<short>>();
do_test_a<test_input_range<short>>();
// Not lvalue-convertible to bool
// Not lvalue-convertible to int
struct C {
C(int v) : val(v) { }
operator int() && { return val; }