Skip to content

Commit

Permalink
Merge pull request #1561 from Spartan322/gcc-14-Wtemplate-id-cdtor-wa…
Browse files Browse the repository at this point in the history
…rning

 Fix GCC 14 -Wtemplate-id-cdtor warning
  • Loading branch information
dsnopek authored Aug 26, 2024
2 parents fd8f196 + 7b31f39 commit aac0164
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 aac0164

Please sign in to comment.