From ce877eed175fb85484d9c8173a969c25a445bbe0 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Thu, 5 Feb 2026 23:31:14 +0100 Subject: [PATCH] Fixed a unit test --- src/buddies/src/bd/bdReaderOptions.cc | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/buddies/src/bd/bdReaderOptions.cc b/src/buddies/src/bd/bdReaderOptions.cc index 2d5d0408c..d28cc67fa 100644 --- a/src/buddies/src/bd/bdReaderOptions.cc +++ b/src/buddies/src/bd/bdReaderOptions.cc @@ -122,15 +122,8 @@ GenericReaderOptions::GenericReaderOptions () m_lefdef_separate_groups = load_options.get_option_by_name ("lefdef_config.separate_groups").to_bool (); m_lefdef_joined_paths = load_options.get_option_by_name ("lefdef_config.joined_paths").to_bool (); - tl::Variant map_files = load_options.get_option_by_name ("lefdef_config.map_file").to_string (); + // Default is simply an empty list m_lefdef_map_files.clear (); - if (map_files.is_list ()) { - for (tl::Variant::const_iterator i = map_files.begin (); i != map_files.end (); ++i) { - m_lefdef_map_files.push_back (i->to_string ()); - } - } else if (! map_files.is_nil ()) { - m_lefdef_map_files.push_back (map_files.to_string ()); - } // Don't take the default, as in practice, it's more common to substitute LEF macros by layouts // m_lefdef_macro_resolution_mode = load_options.get_option_by_name ("lefdef_config.macro_resolution_mode").to_int ();