mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-22 05:57:41 +02:00
Fixed two compiler warnings of hidden virtual methods
This commit is contained in:
@@ -384,6 +384,8 @@ struct DetectTagEdgeSink
|
|||||||
DetectTagEdgeSink (int tag)
|
DetectTagEdgeSink (int tag)
|
||||||
: fail_tag (tag), result (true) { }
|
: fail_tag (tag), result (true) { }
|
||||||
|
|
||||||
|
virtual void put (const db::Edge &) { }
|
||||||
|
|
||||||
virtual void put (const db::Edge &, int tag)
|
virtual void put (const db::Edge &, int tag)
|
||||||
{
|
{
|
||||||
if (tag == fail_tag) {
|
if (tag == fail_tag) {
|
||||||
|
|||||||
@@ -66,6 +66,9 @@ public:
|
|||||||
void begin_edge_differences ();
|
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 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 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 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 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 ();
|
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
|
void
|
||||||
TestDifferenceReceiver::begin_text_differences ()
|
TestDifferenceReceiver::begin_text_differences ()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user