Fixed dbEdges iterator (ported fix of dbRegion iterator for MacOS/clang to dbEdges too)

This commit is contained in:
Matthias Koefferlein 2017-12-30 17:15:24 -08:00
parent 167df7eae6
commit 93572a8f0b
1 changed files with 5 additions and 2 deletions

View File

@ -229,8 +229,11 @@ private:
* @brief ctor from a recursive shape iterator
*/
EdgesIterator (const db::RecursiveShapeIterator &iter, const db::ICplxTrans &trans)
: m_rec_iter (iter), m_iter_trans (trans)
{
: m_rec_iter (iter), m_iter_trans (trans), m_from (), m_to ()
{
// NOTE: the following initialization appears to be required on some compilers
// (specifically MacOS/clang) to ensure the proper initialization of the iterators
m_from = m_to;
set ();
}