mirror of https://github.com/KLayout/klayout.git
Fixed two compiler warnings of hidden virtual methods
This commit is contained in:
parent
df4221cfc9
commit
1a0542f155
|
|
@ -384,6 +384,8 @@ struct DetectTagEdgeSink
|
|||
DetectTagEdgeSink (int tag)
|
||||
: fail_tag (tag), result (true) { }
|
||||
|
||||
virtual void put (const db::Edge &) { }
|
||||
|
||||
virtual void put (const db::Edge &, int tag)
|
||||
{
|
||||
if (tag == fail_tag) {
|
||||
|
|
|
|||
|
|
@ -66,6 +66,9 @@ public:
|
|||
void begin_edge_differences ();
|
||||
void detailed_diff (const db::PropertiesRepository &pr, const std::vector <std::pair <db::Edge, db::properties_id_type> > &a, const std::vector <std::pair <db::Edge, db::properties_id_type> > &b);
|
||||
void end_edge_differences ();
|
||||
void begin_edge_pair_differences ();
|
||||
void detailed_diff (const db::PropertiesRepository &pr, const std::vector <std::pair <db::EdgePair, db::properties_id_type> > &a, const std::vector <std::pair <db::EdgePair, db::properties_id_type> > &b);
|
||||
void end_edge_pair_differences ();
|
||||
void begin_text_differences ();
|
||||
void detailed_diff (const db::PropertiesRepository &pr, const std::vector <std::pair <db::Text, db::properties_id_type> > &a, const std::vector <std::pair <db::Text, db::properties_id_type> > &b);
|
||||
void end_text_differences ();
|
||||
|
|
@ -339,6 +342,26 @@ TestDifferenceReceiver::end_edge_differences ()
|
|||
{
|
||||
}
|
||||
|
||||
void
|
||||
TestDifferenceReceiver::begin_edge_pair_differences ()
|
||||
{
|
||||
m_os << "layout_diff: edge pairs differ for layer " << m_layer.to_string () << " in cell " << m_cellname << std::endl;
|
||||
}
|
||||
|
||||
void
|
||||
TestDifferenceReceiver::detailed_diff (const db::PropertiesRepository &pr, const std::vector <std::pair <db::EdgePair, db::properties_id_type> > &a, const std::vector <std::pair <db::EdgePair, db::properties_id_type> > &b)
|
||||
{
|
||||
m_os << "Not in b but in a:" << std::endl;
|
||||
print_diffs (pr, a, b);
|
||||
m_os << "Not in a but in b:" << std::endl;
|
||||
print_diffs (pr, b, a);
|
||||
}
|
||||
|
||||
void
|
||||
TestDifferenceReceiver::end_edge_pair_differences ()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
TestDifferenceReceiver::begin_text_differences ()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue