summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp/templates/safe_refcount.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/godot_cpp/templates/safe_refcount.hpp')
-rw-r--r--include/godot_cpp/templates/safe_refcount.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/godot_cpp/templates/safe_refcount.hpp b/include/godot_cpp/templates/safe_refcount.hpp
index 519bbf7..12e6840 100644
--- a/include/godot_cpp/templates/safe_refcount.hpp
+++ b/include/godot_cpp/templates/safe_refcount.hpp
@@ -57,7 +57,7 @@ namespace godot {
static_assert(sizeof(SafeFlag) == sizeof(bool)); \
static_assert(alignof(SafeFlag) == alignof(bool));
-template <class T>
+template <typename T>
class SafeNumeric {
std::atomic<T> value;
@@ -195,7 +195,7 @@ public:
#else
-template <class T>
+template <typename T>
class SafeNumeric {
protected:
T value;