mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-12-03 00:26:19 +08:00
Fixed type
This commit is contained in:
@@ -103,5 +103,5 @@ const auto handle_shapes = [](const auto& s) {
|
||||
}
|
||||
};
|
||||
|
||||
std::visit(handle_shapes, my_shape.variant);
|
||||
std::visit(handle_shapes, my_shape.variant());
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user