1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-16 00:42:45 +01:00

Codechange: Space between template and < (#13278)

Make it all consistent so it matches CODINGSTYLE.
This commit is contained in:
Peter Nelson
2025-01-04 17:56:14 +00:00
committed by GitHub
parent 80be5115fe
commit b653f875b0
39 changed files with 112 additions and 112 deletions

View File

@@ -82,7 +82,7 @@ struct CommandInfo {
template <typename T>
inline constexpr CommandInfo CommandFromTrait() noexcept { return { T::name, T::flags, T::type }; };
template<typename T, T... i>
template <typename T, T... i>
inline constexpr auto MakeCommandsFromTraits(std::integer_sequence<T, i...>) noexcept {
return std::array<CommandInfo, sizeof...(i)>{{ CommandFromTrait<CommandTraits<static_cast<Commands>(i)>>()... }};
}