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

@@ -43,7 +43,7 @@ private:
int modifications; ///< Number of modification that has been done. To prevent changing data while valuating.
protected:
template<typename T, class ItemValid, class ItemFilter>
template <typename T, class ItemValid, class ItemFilter>
static void FillList(ScriptList *list, ItemValid item_valid, ItemFilter item_filter)
{
for (const T *item : T::Iterate()) {
@@ -53,19 +53,19 @@ protected:
}
}
template<typename T, class ItemValid>
template <typename T, class ItemValid>
static void FillList(ScriptList *list, ItemValid item_valid)
{
ScriptList::FillList<T>(list, item_valid, [](const T *) { return true; });
}
template<typename T>
template <typename T>
static void FillList(ScriptList *list)
{
ScriptList::FillList<T>(list, [](const T *) { return true; });
}
template<typename T, class ItemValid>
template <typename T, class ItemValid>
static void FillList(HSQUIRRELVM vm, ScriptList *list, ItemValid item_valid)
{
int nparam = sq_gettop(vm) - 1;
@@ -137,7 +137,7 @@ protected:
ScriptObject::SetAllowDoCommand(backup_allow);
}
template<typename T>
template <typename T>
static void FillList(HSQUIRRELVM vm, ScriptList *list)
{
ScriptList::FillList<T>(vm, list, [](const T *) { return true; });