Skip to content

Commit

Permalink
Fix GCC 14 -Wtemplate-id-cdtor warning
Browse files Browse the repository at this point in the history
As was fixed with godotengine/godot#91208

(cherry picked from commit 7b31f39)
  • Loading branch information
Spartan322 authored and dsnopek committed Sep 3, 2024
1 parent 37d255a commit 842a7f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/godot_cpp/templates/safe_refcount.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class SafeNumeric {
}
}

_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);
}
};
Expand Down

0 comments on commit 842a7f6

Please sign in to comment.