From fd0b07f0cdad51770012e2cec81f9be2a0eeb741 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sun, 29 Mar 2020 22:14:07 +0200 Subject: [PATCH] MERGE: strmxor could not identify layers when one has a name and the other does not (but both have numbers) --- src/buddies/src/bd/strmxor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/buddies/src/bd/strmxor.cc b/src/buddies/src/bd/strmxor.cc index 8c4b03a33..0e1286bb5 100644 --- a/src/buddies/src/bd/strmxor.cc +++ b/src/buddies/src/bd/strmxor.cc @@ -140,7 +140,7 @@ struct XORData double tile_size; db::Layout *output_layout; db::cell_index_type output_cell; - std::map > l2l_map; + std::map, db::LPLogicalLessFunc> l2l_map; std::map, ResultDescriptor> *results; }; @@ -299,7 +299,7 @@ BD_PUBLIC int strmxor (int argc, char *argv[]) throw tl::Exception ("'" + top_b + "' is not a valid cell name in second layout"); } - std::map > l2l_map; + std::map, db::LPLogicalLessFunc> l2l_map; for (db::Layout::layer_iterator l = layout_a.begin_layers (); l != layout_a.end_layers (); ++l) { l2l_map.insert (std::make_pair (*(*l).second, std::make_pair (-1, -1))).first->second.first = (*l).first;