mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-12-02 16:16:19 +08:00
Thanks to @bryceschober for pointing this out and drafting a fix.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
namespace test_enum_range_min_max {
|
||||
|
||||
enum class InnerColor { none = -128, red = -50, green = 0, blue = 128 };
|
||||
enum class LineColor { yellow = 200, purple = 300, orange = 400 };
|
||||
enum class LineColor : uint16_t { yellow = 200, purple = 300, orange = 400 };
|
||||
|
||||
} // namespace test_enum_range_min_max
|
||||
|
||||
@@ -30,4 +30,4 @@ TEST(generic, test_enum_range_min_max) {
|
||||
EXPECT_EQ(line_max, 400);
|
||||
}
|
||||
|
||||
} // namespace test_enum_range_min_max
|
||||
} // namespace test_enum_range_min_max
|
||||
|
||||
Reference in New Issue
Block a user