From 7b31f39beaca1a98307402f53d69f3657f3bed86 Mon Sep 17 00:00:00 2001 From: "George L. Albany" Date: Sun, 25 Aug 2024 07:55:58 +0000 Subject: [PATCH] Fix GCC 14 -Wtemplate-id-cdtor warning As was fixed with godotengine/godot#91208 --- include/godot_cpp/templates/safe_refcount.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/godot_cpp/templates/safe_refcount.hpp b/include/godot_cpp/templates/safe_refcount.hpp index 12e6840a..98cb04b2 100644 --- a/include/godot_cpp/templates/safe_refcount.hpp +++ b/include/godot_cpp/templates/safe_refcount.hpp @@ -132,7 +132,7 @@ public: } } - _ALWAYS_INLINE_ explicit SafeNumeric(T p_value = static_cast(0)) { + _ALWAYS_INLINE_ explicit SafeNumeric(T p_value = static_cast(0)) { set(p_value); } };