mirror of
https://github.com/fmtlib/fmt.git
synced 2026-05-06 08:26:15 +02:00
Fix compilation with intel compilers (ICC/ICPC) v14.0
This commit is contained in:
committed by
Victor Zverovich
parent
4cf21f58b2
commit
e864acfdbd
+1
-1
@@ -1583,7 +1583,7 @@ struct explicitly_convertible_to_string_like {
|
||||
typename String,
|
||||
typename = typename std::enable_if<
|
||||
std::is_constructible<String, const char*, std::size_t>::value>::type>
|
||||
explicit operator String() const { return String("foo", 3u); }
|
||||
FMT_EXPLICIT operator String() const { return String("foo", 3u); }
|
||||
};
|
||||
|
||||
TEST(FormatterTest, FormatExplicitlyConvertibleToStringLike) {
|
||||
|
||||
Reference in New Issue
Block a user