Skip to content

Commit 653e7ff

Browse files
Restore redundant deduction guide to suppress -Wctad-maybe-unsupported
1 parent 6ecaa28 commit 653e7ff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libcxx/test/support/nasty_string.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,9 @@ struct ToNastyChar {
148148
nasty_char text[N];
149149
};
150150

151+
template <std::size_t N>
152+
ToNastyChar(const char (&)[N]) -> ToNastyChar<N>;
153+
151154
template <ToNastyChar Str>
152155
inline constexpr auto static_nasty_text = Str;
153156

0 commit comments

Comments
 (0)