summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp
diff options
context:
space:
mode:
authorDavid Snopek <dsnopek@gmail.com>2024-08-26 12:35:48 -0500
committerGitHub <noreply@github.com>2024-08-26 12:35:48 -0500
commitaac0164b7a9b1dd6aaef4d68c7e1c0ca698d8a6a (patch)
tree148720a213b6fbe2293d4e4c5d51d0385b11c54a /include/godot_cpp
parentfd8f196008301ce83dae6061eaa0d4b365b0c4d2 (diff)
parent7b31f39beaca1a98307402f53d69f3657f3bed86 (diff)
downloadredot-cpp-aac0164b7a9b1dd6aaef4d68c7e1c0ca698d8a6a.tar.gz
Merge pull request #1561 from Spartan322/gcc-14-Wtemplate-id-cdtor-warning
Fix GCC 14 -Wtemplate-id-cdtor warning
Diffstat (limited to 'include/godot_cpp')
-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);
}
};