Skip to content
Snippets Groups Projects
Timo Koch's avatar
Timo Koch authored
Using optional lead to issues probably because the assignment operator were not
correcty implemented. However there is not need for optional here since the
member is in fact not optional but always there when the object is validly constructed.
We can simply use a unique_ptr to work around the fact that not all geometry
imeplementation are default-constructible and/or copy-assignable.
1ef4d5cf
History
Name Last commit Last update