mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-03 08:26:27 +02:00
WIP: code cleanup
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user