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:
parent
96566cc46d
commit
5e26a340b2
4 changed files with 4 additions and 4 deletions
|
@ -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; }
|
||||
|
|
|
@ -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; }
|
||||
|
|
|
@ -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; }
|
||||
|
|
|
@ -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; }
|
||||
|
|
Loading…
Add table
Reference in a new issue