mirror of
https://github.com/godotengine/godot-cpp.git
synced 2026-01-06 06:10:06 +03:00
Enforce template syntax typename over class
(cherry picked from commit 87f5fb0691)
This commit is contained in:
committed by
David Snopek
parent
98ad839827
commit
7473b984cb
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user