diff --git a/fmt/format.h b/fmt/format.h index dc840a95..5f2b1dae 100644 --- a/fmt/format.h +++ b/fmt/format.h @@ -2094,11 +2094,15 @@ struct ArgArray { template static Value make(const T &value) { +#ifdef __clang__ Value result = MakeValue(value); // Workaround a bug in Apple LLVM version 4.2 (clang-425.0.28) of clang: // https://github.com/fmtlib/fmt/issues/276 (void)result.custom.format; return result; +#else + return MakeValue(value); +#endif } };