Skip to content

Commit 5576cf0

Browse files
authored
Apply suggestions from code review
1 parent f05b937 commit 5576cf0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/merge_lvalue.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ int main(int, char**) {
109109
}
110110
#endif
111111

112-
{ // Make sure self-merging does nothing.
112+
{ // LWG3088: Make sure self-merging does nothing.
113113
int a[] = {1, 2, 3, 4, 5};
114114
std::forward_list<int> c(std::begin(a), std::end(a));
115115
c.merge(c);

libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/merge_lvalue_pred.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ int main(int, char**) {
110110
}
111111
#endif
112112

113-
{ // Make sure self-merging does nothing.
113+
{ // LWG3088: Make sure self-merging does nothing.
114114
int a[] = {5, 4, 3, 2, 1};
115115
std::forward_list<int> c(std::begin(a), std::end(a));
116116
c.merge(c, std::greater<int>());

libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/merge_rvalue.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ int main(int, char**) {
102102
assert(c1 == c3);
103103
}
104104

105-
{ // Make sure self-merging does nothing.
105+
{ // LWG3088: Make sure self-merging does nothing.
106106
int a[] = {1, 2, 3, 4, 5};
107107
std::forward_list<int> c(std::begin(a), std::end(a));
108108
c.merge(std::move(c));

libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/merge_rvalue_pred.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ int main(int, char**) {
103103
assert(c1 == c3);
104104
}
105105

106-
{ // Make sure self-merging does nothing.
106+
{ // LWG3088: Make sure self-merging does nothing.
107107
int a[] = {5, 4, 3, 2, 1};
108108
std::forward_list<int> c(std::begin(a), std::end(a));
109109
c.merge(std::move(c), std::greater<int>());

0 commit comments

Comments
 (0)