Remove old workaround
Some checks failed
doc / build (push) Failing after 21s
linux / build (Debug, clang++-11, -stdlib=libc++, sudo apt install libc++-11-dev libc++abi-11-dev, 20) (push) Failing after 1s
linux / build (Debug, clang++-11, 20) (push) Failing after 1s
linux / build (Debug, clang++-8, -stdlib=libc++, sudo apt install clang-8 libc++-8-dev libc++abi-8-dev, 17) (push) Failing after 1s
linux / build (Debug, clang++-9, -DFMT_FUZZ=ON -DFMT_FUZZ_LINKMAIN=ON, sudo apt install clang-9, 17) (push) Failing after 1s
linux / build (Debug, clang++-9, sudo apt install clang-9, , 11) (push) Failing after 1s
linux / build (Debug, g++-10, , 11) (push) Failing after 1s
linux / build (Debug, g++-10, 17) (push) Failing after 1s
linux / build (Debug, g++-11, sudo apt install g++-11, 20) (push) Failing after 1s
linux / build (Debug, g++-4.9, sudo apt install g++-4.9, , 11) (push) Failing after 1s
linux / build (Debug, g++-8, sudo apt install g++-8, 14) (push) Failing after 1s
linux / build (Debug, g++-8, sudo apt install g++-8, 17) (push) Failing after 1s
linux / build (Debug, g++-9, 17) (push) Failing after 1s
linux / build (Release, clang++-9, sudo apt install clang-9, , 11) (push) Failing after 1s
linux / build (Release, g++-10, , 11) (push) Failing after 1s
linux / build (Release, g++-13, sudo apt install g++-13, -DBUILD_SHARED_LIBS=ON, 23) (push) Failing after 1s
linux / build (Release, g++-4.9, sudo apt install g++-4.9, , 11) (push) Failing after 1s
macos / build (Debug, macos-13, , 20) (push) Has been cancelled
macos / build (Debug, macos-14, , 11) (push) Has been cancelled
macos / build (Debug, macos-14, , 17) (push) Has been cancelled
macos / build (Debug, macos-14, , 20) (push) Has been cancelled
macos / build (Release, macos-13, , 20) (push) Has been cancelled
macos / build (Release, macos-14, , 11) (push) Has been cancelled
macos / build (Release, macos-14, , 17) (push) Has been cancelled
macos / build (Release, macos-14, , 20) (push) Has been cancelled
macos / build (Release, macos-14, -DBUILD_SHARED_LIBS=ON, 23) (push) Has been cancelled
windows / build (Debug, windows-2019, Win32, , 17, v142) (push) Has been cancelled
windows / build (Debug, windows-2019, Win32, -DBUILD_SHARED_LIBS=ON, 17, v142) (push) Has been cancelled
windows / build (Debug, windows-2019, x64, , 14, v141) (push) Has been cancelled
windows / build (Debug, windows-2019, x64, , 17, v141) (push) Has been cancelled
windows / build (Debug, windows-2019, x64, , 17, v142) (push) Has been cancelled
windows / build (Debug, windows-2019, x64, , 20, v142) (push) Has been cancelled
windows / build (Debug, windows-2019, x64, -DBUILD_SHARED_LIBS=ON, 17, v142) (push) Has been cancelled
windows / build (Debug, windows-2022, x64, 20, v143) (push) Has been cancelled
windows / build (Release, windows-2019, Win32, , 17, v142) (push) Has been cancelled
windows / build (Release, windows-2019, Win32, -DBUILD_SHARED_LIBS=ON, 17, v142) (push) Has been cancelled
windows / build (Release, windows-2019, x64, , 14, v141) (push) Has been cancelled
windows / build (Release, windows-2019, x64, , 17, v141) (push) Has been cancelled
windows / build (Release, windows-2019, x64, , 17, v142) (push) Has been cancelled
windows / build (Release, windows-2019, x64, , 20, v142) (push) Has been cancelled
windows / build (Release, windows-2019, x64, -DBUILD_SHARED_LIBS=ON, 17, v142) (push) Has been cancelled
windows / mingw (mingw64) (push) Has been cancelled
windows / mingw (ucrt64) (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1s

This commit is contained in:
Victor Zverovich 2024-09-10 21:06:25 -07:00
parent a5deb96bf5
commit 8ee89546ff

View File

@ -1195,11 +1195,7 @@ inline auto digits2(size_t value) -> const char* {
return &data[value * 2];
}
// Sign is a template parameter to workaround a bug in gcc 4.8.
template <typename Char, typename Sign> constexpr auto getsign(Sign s) -> Char {
#if !FMT_GCC_VERSION || FMT_GCC_VERSION >= 604
static_assert(std::is_same<Sign, sign>::value, "");
#endif
template <typename Char> constexpr auto getsign(sign s) -> Char {
return static_cast<char>(((' ' << 24) | ('+' << 16) | ('-' << 8)) >>
(static_cast<int>(s) * 8));
}