Skip to content

Commit c4e2f7e

Browse files
committed
Intermediate changes
commit_hash:a3552371d352013b320a137c9a6f9d7f4e92785b
1 parent 2da1098 commit c4e2f7e

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

contrib/libs/fmt/include/fmt/ostream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ struct is_streamable<
4646
std::is_arithmetic<T>::value || std::is_array<T>::value ||
4747
std::is_pointer<T>::value || std::is_same<T, char8_type>::value ||
4848
std::is_same<T, std::basic_string<Char>>::value ||
49-
std::is_same<T, std_string_view<Char>>::value ||
49+
std::is_convertible<T, std_string_view<Char>>::value ||
5050
(std::is_convertible<T, int>::value && !std::is_enum<T>::value)>>
5151
: std::false_type {};
5252

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- contrib/libs/fmt/include/fmt/ostream.h (index)
2+
+++ contrib/libs/fmt/include/fmt/ostream.h (working tree)
3+
@@ -46,7 +46,7 @@ struct is_streamable<
4+
std::is_arithmetic<T>::value || std::is_array<T>::value ||
5+
std::is_pointer<T>::value || std::is_same<T, char8_type>::value ||
6+
std::is_same<T, std::basic_string<Char>>::value ||
7+
- std::is_same<T, std_string_view<Char>>::value ||
8+
+ std::is_convertible<T, std_string_view<Char>>::value ||
9+
(std::is_convertible<T, int>::value && !std::is_enum<T>::value)>>
10+
: std::false_type {};
11+

0 commit comments

Comments
 (0)