1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-29 01:19:11 +00:00

Fix: Too many braces make old gcc sad. (#10116)

This commit is contained in:
Michael Lutz
2022-11-02 00:53:44 +01:00
committed by GitHub
parent aa06b73137
commit 35d9cea487

View File

@@ -149,7 +149,7 @@ constexpr UnpackNetworkCommandProc MakeUnpackNetworkCommandCallback() noexcept
template <Commands Tcmd, size_t... i>
constexpr UnpackDispatchT MakeUnpackNetworkCommand(std::index_sequence<i...>) noexcept
{
return UnpackDispatchT{{ {MakeUnpackNetworkCommandCallback<Tcmd, i>()}...}};
return UnpackDispatchT{{ MakeUnpackNetworkCommandCallback<Tcmd, i>()...}};
}
template <typename T, T... i, size_t... j>