From d5ef7a33f862b85614ea9ce996143146ef7e7d7c Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Fri, 9 Jul 2021 14:32:21 +0200 Subject: [PATCH] Adds newlines at the end of HelperFile for gcc --- src/ScriptResolving/AngelScript/TypeRegistry/HelperFile.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ScriptResolving/AngelScript/TypeRegistry/HelperFile.hpp b/src/ScriptResolving/AngelScript/TypeRegistry/HelperFile.hpp index 4d76af3..a5d45ff 100644 --- a/src/ScriptResolving/AngelScript/TypeRegistry/HelperFile.hpp +++ b/src/ScriptResolving/AngelScript/TypeRegistry/HelperFile.hpp @@ -16,4 +16,5 @@ } // Hack to handle AngelScript not recognizing different sized enums on fields, and returning invalid values due to it. #define ENUM__SIZE_WRAPPER(name, type, func) \ -int32_t name(type* obj) { return static_cast(obj->func()); } \ No newline at end of file +int32_t name(type* obj) { return static_cast(obj->func()); } +