diff options
author | rtk0c <[email protected]> | 2022-06-28 12:17:48 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2022-06-28 12:17:48 -0700 |
commit | 6839736b8283a59eb743e1f6058c7d266a3e7f36 (patch) | |
tree | c9fafde01740753a93c3bf3830faa790b88b001c /source/10-common/Enum.hpp | |
parent | 8a244363c9171946aa6e4552ce0dcfc8edf761cb (diff) |
Changeset: 78 Replace "class" keyword in templates with "typename"
Diffstat (limited to 'source/10-common/Enum.hpp')
-rw-r--r-- | source/10-common/Enum.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/10-common/Enum.hpp b/source/10-common/Enum.hpp index 5d75955..7afbe8e 100644 --- a/source/10-common/Enum.hpp +++ b/source/10-common/Enum.hpp @@ -3,7 +3,7 @@ #include <initializer_list> #include <type_traits> -template <class TEnum> +template <typename TEnum> class EnumFlags { public: using Enum = TEnum; @@ -103,7 +103,7 @@ public: }; // Helper class for enumerating enum elements for ImGui::Begin/EndCombo -template <class TEnum> +template <typename TEnum> struct EnumElement { const char* name; TEnum value; |