mirror of https://github.com/KLayout/klayout.git
Disabled assignment and copy for operators and filter objects
This commit is contained in:
parent
8d6125dd74
commit
c1394eadef
|
|
@ -450,6 +450,10 @@ private:
|
|||
bool m_wants_variants;
|
||||
bool m_result_is_merged;
|
||||
bool m_result_must_not_be_merged;
|
||||
|
||||
// No copying
|
||||
shape_processor_impl &operator= (const shape_processor_impl &);
|
||||
shape_processor_impl (const shape_processor_impl &);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -60,6 +60,11 @@ public:
|
|||
}
|
||||
|
||||
gsi::Callback f_selected;
|
||||
|
||||
private:
|
||||
// No copying
|
||||
EdgePairFilterImpl &operator= (const EdgePairFilterImpl &);
|
||||
EdgePairFilterImpl (const EdgePairFilterImpl &);
|
||||
};
|
||||
|
||||
Class<gsi::EdgePairFilterImpl> decl_EdgePairFilterImpl ("db", "EdgePairFilter",
|
||||
|
|
|
|||
|
|
@ -72,6 +72,11 @@ public:
|
|||
}
|
||||
|
||||
gsi::Callback f_selected;
|
||||
|
||||
private:
|
||||
// No copying
|
||||
EdgeFilterImpl &operator= (const EdgeFilterImpl &);
|
||||
EdgeFilterImpl (const EdgeFilterImpl &);
|
||||
};
|
||||
|
||||
Class<gsi::EdgeFilterImpl> decl_EdgeFilterImpl ("db", "EdgeFilter",
|
||||
|
|
|
|||
|
|
@ -78,6 +78,11 @@ public:
|
|||
}
|
||||
|
||||
gsi::Callback f_selected;
|
||||
|
||||
private:
|
||||
// No copying
|
||||
PolygonFilterImpl &operator= (const PolygonFilterImpl &);
|
||||
PolygonFilterImpl (const PolygonFilterImpl &);
|
||||
};
|
||||
|
||||
Class<gsi::PolygonFilterImpl> decl_PolygonFilterImpl ("db", "PolygonFilter",
|
||||
|
|
|
|||
|
|
@ -57,6 +57,11 @@ public:
|
|||
}
|
||||
|
||||
gsi::Callback f_selected;
|
||||
|
||||
private:
|
||||
// No copying
|
||||
TextFilterImpl &operator= (const TextFilterImpl &);
|
||||
TextFilterImpl (const TextFilterImpl &);
|
||||
};
|
||||
|
||||
Class<gsi::TextFilterImpl> decl_TextFilterImpl ("db", "TextFilter",
|
||||
|
|
|
|||
Loading…
Reference in New Issue