diff --git a/tests/test_tagged_union.hpp b/tests/test_tagged_union.hpp index fb2aaac9..016aaabe 100644 --- a/tests/test_tagged_union.hpp +++ b/tests/test_tagged_union.hpp @@ -28,7 +28,7 @@ void test_tagged_union() { rfl::Field<"width", double> width; }; - using Shapes = std::variant; + using Shapes = rfl::TaggedUnion<"shape", Circle, Square, Rectangle>; const Shapes r = Rectangle{.height = 10, .width = 5};