mirror of https://github.com/CGAL/cgal
previous data member is now a reference in Null_mesher_visitor_level: visitor used by Mesh_3 as Previous_level has a state, so doing a copy is not an option.
This commit is contained in:
parent
825835fc74
commit
61f6dcbc10
|
|
@ -25,11 +25,11 @@ namespace CGAL {
|
||||||
template <typename Previous_level>
|
template <typename Previous_level>
|
||||||
class Null_mesh_visitor_level
|
class Null_mesh_visitor_level
|
||||||
{
|
{
|
||||||
Previous_level previous;
|
Previous_level& previous;
|
||||||
public:
|
public:
|
||||||
typedef Previous_level Previous_visitor;
|
typedef Previous_level Previous_visitor;
|
||||||
|
|
||||||
Null_mesh_visitor_level(Previous_level p) : previous(p)
|
Null_mesh_visitor_level(Previous_level& p) : previous(p)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue