Skip to content

Commit a02c079

Browse files
hebastovasild
andcommitted
clang-tidy: Suppress performance-enum-size check warning
See: https://clang.llvm.org/extra/clang-tidy/checks/performance/enum-size.html Co-authored-by: Vasil Dimov <vd@FreeBSD.org>
1 parent 593807a commit a02c079

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/mp/test/foo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ struct FooStruct
2121
std::vector<bool> vbool;
2222
};
2323

24-
enum class FooEnum : int { ONE = 1, TWO = 2, };
24+
enum class FooEnum : uint8_t { ONE = 1, TWO = 2, };
2525

2626
struct FooCustom
2727
{

0 commit comments

Comments
 (0)