1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 16:54:52 +01:00

Add line breaks after template declarations (#23086)

* Add line breaks after template declarations

* Additional clang-format patches
This commit is contained in:
Aaron van Geffen
2024-10-29 16:54:01 +01:00
committed by GitHub
parent 0669eba3b2
commit 80b63a5ae7
129 changed files with 867 additions and 430 deletions

View File

@@ -82,7 +82,8 @@ namespace OpenRCT2::Scripting
{ "banner", ViewportInteractionItem::Banner },
});
template<> DukValue ToDuk(duk_context* ctx, const CursorID& cursorId)
template<>
DukValue ToDuk(duk_context* ctx, const CursorID& cursorId)
{
auto value = EnumValue(cursorId);
if (value < std::size(CursorNames))
@@ -94,7 +95,8 @@ namespace OpenRCT2::Scripting
return ToDuk(ctx, undefined);
}
template<> CursorID FromDuk(const DukValue& s)
template<>
CursorID FromDuk(const DukValue& s)
{
if (s.type() == DukValue::Type::STRING)
{