mirror of https://github.com/KLayout/klayout.git
Fixed some minor compiler warnings.
This commit is contained in:
parent
27109312cf
commit
0abd5d5d96
|
|
@ -34,6 +34,7 @@ EdgePairsDelegate::EdgePairsDelegate ()
|
||||||
}
|
}
|
||||||
|
|
||||||
EdgePairsDelegate::EdgePairsDelegate (const EdgePairsDelegate &other)
|
EdgePairsDelegate::EdgePairsDelegate (const EdgePairsDelegate &other)
|
||||||
|
: tl::UniqueId ()
|
||||||
{
|
{
|
||||||
operator= (other);
|
operator= (other);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@ EdgesDelegate::EdgesDelegate ()
|
||||||
}
|
}
|
||||||
|
|
||||||
EdgesDelegate::EdgesDelegate (const EdgesDelegate &other)
|
EdgesDelegate::EdgesDelegate (const EdgesDelegate &other)
|
||||||
|
: tl::UniqueId ()
|
||||||
{
|
{
|
||||||
operator= (other);
|
operator= (other);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -290,6 +290,8 @@ Layout::Layout (const db::Layout &layout)
|
||||||
: db::Object (layout),
|
: db::Object (layout),
|
||||||
db::LayoutStateModel (),
|
db::LayoutStateModel (),
|
||||||
gsi::ObjectBase (),
|
gsi::ObjectBase (),
|
||||||
|
tl::Object (),
|
||||||
|
tl::UniqueId (),
|
||||||
m_cells_size (0),
|
m_cells_size (0),
|
||||||
m_invalid (0),
|
m_invalid (0),
|
||||||
m_top_cells (0),
|
m_top_cells (0),
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@ RegionDelegate::RegionDelegate ()
|
||||||
}
|
}
|
||||||
|
|
||||||
RegionDelegate::RegionDelegate (const RegionDelegate &other)
|
RegionDelegate::RegionDelegate (const RegionDelegate &other)
|
||||||
|
: tl::UniqueId ()
|
||||||
{
|
{
|
||||||
operator= (other);
|
operator= (other);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ static size_t obj_count = 0;
|
||||||
struct MyClass1 : public tl::list_node<MyClass1>
|
struct MyClass1 : public tl::list_node<MyClass1>
|
||||||
{
|
{
|
||||||
MyClass1 (int _n) : n (_n) { ++obj_count; }
|
MyClass1 (int _n) : n (_n) { ++obj_count; }
|
||||||
MyClass1 (const MyClass1 &other) : n (other.n) { ++obj_count; }
|
MyClass1 (const MyClass1 &other) : tl::list_node<MyClass1> (), n (other.n) { ++obj_count; }
|
||||||
~MyClass1 () { --obj_count; }
|
~MyClass1 () { --obj_count; }
|
||||||
int n;
|
int n;
|
||||||
bool operator== (const MyClass1 &other) const { return n == other.n; }
|
bool operator== (const MyClass1 &other) const { return n == other.n; }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue