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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user