mirror of https://github.com/KLayout/klayout.git
WIP: code cleanup
This commit is contained in:
parent
09e088b686
commit
5a828b4c8f
|
|
@ -313,15 +313,6 @@ CommonReader::init (const LoadLayoutOptions &options)
|
|||
m_layer_cache.clear ();
|
||||
m_layers_created.clear ();
|
||||
m_layer_names.clear ();
|
||||
|
||||
// create a pseudo-multimapping for single targets
|
||||
for (db::LayerMap::const_iterator_layers li = m_common_options.layer_map.begin (); li != m_common_options.layer_map.end (); ++li) {
|
||||
for (db::LayerMap::const_iterator_datatypes di = li->second.begin (); di != li->second.end (); ++di) {
|
||||
if (di->second.size () == 1) {
|
||||
m_multi_mapping_placeholders.insert (std::make_pair (di->second, *di->second.begin ()));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
|
|
@ -233,15 +233,6 @@ NamedLayerReader::prepare_layers (db::Layout &layout)
|
|||
m_layer_cache.clear ();
|
||||
|
||||
m_layer_map.prepare (layout);
|
||||
|
||||
// create a pseudo-multimapping for single targets
|
||||
for (db::LayerMap::const_iterator_layers li = m_layer_map.begin (); li != m_layer_map.end (); ++li) {
|
||||
for (db::LayerMap::const_iterator_datatypes di = li->second.begin (); di != li->second.end (); ++di) {
|
||||
if (di->second.size () == 1) {
|
||||
m_multi_mapping_placeholders.insert (std::make_pair (di->second, *di->second.begin ()));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in New Issue