Commit c5fe3eb8 authored by Victor Zverovich's avatar Victor Zverovich

Fix code bloat regression on gcc 5.3.1 with -std=c++11 (#315)

parent b2a81413
......@@ -2094,11 +2094,15 @@ struct ArgArray<N, true/*IsPacked*/> {
template <typename Formatter, typename T>
static Value make(const T &value) {
#ifdef __clang__
Value result = MakeValue<Formatter>(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<Formatter>(value);
#endif
}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment