diff --git a/src/db/db/dbEdgeNeighborhood.h b/src/db/db/dbEdgeNeighborhood.h index 88c8f6185..6f2913e94 100644 --- a/src/db/db/dbEdgeNeighborhood.h +++ b/src/db/db/dbEdgeNeighborhood.h @@ -58,7 +58,7 @@ public: /** * @brief Event handler for each edge plus it's neighborhood */ - void on_edge (const db::Layout *layout, const db::Cell *cell, const db::Edge &edge, const neighbors_type &neighbors); + virtual void on_edge (const db::Layout * /*layout*/, const db::Cell * /*cell*/, const db::Edge & /*edge*/, const neighbors_type & /*neighbors*/) { } }; /** diff --git a/src/db/db/gsiDeclDbEdgeNeighborhood.cc b/src/db/db/gsiDeclDbEdgeNeighborhood.cc index 947b0322a..128721a00 100644 --- a/src/db/db/gsiDeclDbEdgeNeighborhood.cc +++ b/src/db/db/gsiDeclDbEdgeNeighborhood.cc @@ -99,7 +99,11 @@ private: tl::Mutex m_lock; }; -Class decl_EdgeNeighborhoodVisitorImpl ("db", "EdgeNeighborhoodVisitor", +Class decl_EdgeNeighborhoodVisitor ("db", "EdgeNeighborhoodVisitorBase", + "@hide" +); + +Class decl_EdgeNeighborhoodVisitorImpl (decl_EdgeNeighborhoodVisitor, "db", "EdgeNeighborhoodVisitor", gsi::callback ("on_edge", &EdgeNeighborhoodVisitorImpl::issue_on_edge, &EdgeNeighborhoodVisitorImpl::f_on_edge, gsi::arg ("layout"), gsi::arg ("cell"), gsi::arg ("edge"), gsi::arg ("neighborhood"), "@brief Is called for each edge with the edge neighbors\n" "This method is called for every edge on the input region. It delivers the edge and the edge neighborhood. "