summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp/templates
diff options
context:
space:
mode:
authorGeorge L. Albany <Megacake1234@gmail.com>2024-08-25 07:55:58 +0000
committerGitHub <noreply@github.com>2024-08-25 07:55:58 +0000
commit7b31f39beaca1a98307402f53d69f3657f3bed86 (patch)
tree737e40bb9ea3615440910cb82dd6675a19bdda0f /include/godot_cpp/templates
parent19c83a8837738e5014cc35771820bcb8cb73a5ea (diff)
downloadredot-cpp-7b31f39beaca1a98307402f53d69f3657f3bed86.tar.gz
Fix GCC 14 -Wtemplate-id-cdtor warning
As was fixed with godotengine/godot#91208
Diffstat (limited to 'include/godot_cpp/templates')
-rw-r--r--include/godot_cpp/templates/safe_refcount.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/godot_cpp/templates/safe_refcount.hpp b/include/godot_cpp/templates/safe_refcount.hpp
index 12e6840..98cb04b 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>(T p_value = static_cast<T>(0)) {
+ _ALWAYS_INLINE_ explicit SafeNumeric(T p_value = static_cast<T>(0)) {
set(p_value);
}
};