Skip to content

Commit fc55b8a

Browse files
committed
requires rather than enable_if
1 parent c728ba8 commit fc55b8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/argz/argz.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ namespace argz
132132
std::cout << '\n';
133133
}
134134

135-
template <class int_t, class char_ptr_t, std::enable_if_t<std::is_pointer_v<char_ptr_t>, int> = 0>
135+
template <class int_t, class char_ptr_t> requires (std::is_pointer_v<char_ptr_t>)
136136
inline void parse(about& about, options& opts, const int_t argc, char_ptr_t argv)
137137
{
138138
if (argc == 1) {

0 commit comments

Comments
 (0)