diff --git a/include/fmt/base.h b/include/fmt/base.h index 255f9559..60972421 100644 --- a/include/fmt/base.h +++ b/include/fmt/base.h @@ -2240,11 +2240,12 @@ template class value { } FMT_ALWAYS_INLINE value(const void* val) : pointer(val) {} + // We can't use mapped_t because of a bug in MSVC 2017. template ::map( std::declval()))>::value)> FMT_CONSTEXPR20 FMT_ALWAYS_INLINE value(T&& val) { - *this = arg_mapper::map(val); + *this = arg_mapper::map(val); } template