Skip to content

Commit a3e3e95

Browse files
committed
class -> typename consistency
1 parent ccc1ede commit a3e3e95

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libcxx/test/std/strings/basic.string/string.ops/string_substr/subview.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ constexpr void test() {
110110
}
111111

112112
constexpr bool test() {
113-
types::for_each(types::character_types(), []<class CharT> { test<CharT>(); });
113+
types::for_each(types::character_types(), []<typename CharT> { test<CharT>(); });
114114

115115
return true;
116116
}

libcxx/test/std/strings/string.view/string.view.ops/subview.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ constexpr void test() {
107107
}
108108

109109
constexpr bool test() {
110-
types::for_each(types::character_types(), []<class CharT> { test<CharT>(); });
110+
types::for_each(types::character_types(), []<typename CharT> { test<CharT>(); });
111111

112112
return true;
113113
}

0 commit comments

Comments
 (0)