Fix an ambiguous call to check caused by ADL (#2184)

This commit is contained in:
Victor Zverovich
2021-03-17 20:59:36 -07:00
parent 2f3f3862fa
commit 1147782c79
2 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -1460,7 +1460,7 @@ template <typename T, typename U> constexpr const U& check(const U& val) {
template <bool IS_PACKED, typename Context, type, typename T,
FMT_ENABLE_IF(IS_PACKED)>
constexpr value<Context> make_arg(const T& val) {
return check<T>(arg_mapper<Context>().map(val));
return detail::check<T>(arg_mapper<Context>().map(val));
}
template <bool IS_PACKED, typename Context, type, typename T,