Fixed codefactor review

This commit is contained in:
emeric
2020-11-13 17:12:18 +01:00
parent 3d692a33d4
commit 633ce7d392
2 changed files with 42 additions and 36 deletions
-2
View File
@@ -31,7 +31,6 @@ class EnumSet
using index_type = std::uint_fast8_t;
public:
EnumSet() = default;
constexpr EnumSet(std::initializer_list<T> values)
{
@@ -119,7 +118,6 @@ class EnumSet
}
private:
static_assert(std::numeric_limits<index_type>::max() >= sizeof(underlying_type) * 8);
enum : index_type { npos = sizeof(underlying_type) * 8 };