From e97d9bb095947e668e99a986b0d6f63f3d6919c3 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Sat, 26 Jan 2019 00:08:00 +0100 Subject: [PATCH] maybe_atomic_type -> maybe_atomic_t --- src/entt/config/config.h | 4 ++-- src/entt/core/family.hpp | 2 +- src/entt/core/monostate.hpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/entt/config/config.h b/src/entt/config/config.h index 0c1f5c9d8..c891c10b3 100644 --- a/src/entt/config/config.h +++ b/src/entt/config/config.h @@ -15,10 +15,10 @@ #ifndef ENTT_NO_ATOMIC #include template -using maybe_atomic_type = std::atomic; +using maybe_atomic_t = std::atomic; #else template -using maybe_atomic_type = Type; +using maybe_atomic_t = Type; #endif // ENTT_USE_ATOMIC diff --git a/src/entt/core/family.hpp b/src/entt/core/family.hpp index e63c1ac49..fad9aebad 100644 --- a/src/entt/core/family.hpp +++ b/src/entt/core/family.hpp @@ -19,7 +19,7 @@ namespace entt { */ template class family { - inline static maybe_atomic_type identifier; + inline static maybe_atomic_t identifier; template inline static const auto inner = identifier++; diff --git a/src/entt/core/monostate.hpp b/src/entt/core/monostate.hpp index b2f312d96..fbca09afa 100644 --- a/src/entt/core/monostate.hpp +++ b/src/entt/core/monostate.hpp @@ -45,7 +45,7 @@ struct monostate { private: template - inline static maybe_atomic_type value{}; + inline static maybe_atomic_t value{}; };