mirror of
https://github.com/shadps4-emu/ext-fmt.git
synced 2025-02-10 20:35:51 +00:00
Fix code bloat regression on gcc 5.3.1 with -std=c++11 (#315)
This commit is contained in:
parent
b2a8141373
commit
c5fe3eb87e
@ -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
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user