diff --git a/CHANGELOG.md b/CHANGELOG.md index a0481a1..6321ee2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. +### Enum + +- more clang-tidy fix for enum type + ## Next Release diff --git a/include/mstd/enum.hpp b/include/mstd/enum.hpp index 15af4e1..9c2dbc2 100644 --- a/include/mstd/enum.hpp +++ b/include/mstd/enum.hpp @@ -119,7 +119,8 @@ } \ }; \ \ - static constexpr EnumName##Meta enum_meta(EnumName) { return {}; } + inline constexpr EnumName##Meta enum_meta(EnumName) { return {}; } + #else #define MSTD_ENUM(EnumName, Underlying, LIST) enum class EnumName : Underlying; #endif