From ffe372200103b4dbdb263a04498d2469e479d162 Mon Sep 17 00:00:00 2001 From: "Koefferlein Matthias (IFAG DES TCP FLP)" Date: Fri, 9 Dec 2022 16:26:21 +0100 Subject: [PATCH] Better backward compatibility for ruler configuration --- src/ant/ant/antPlugin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ant/ant/antPlugin.cc b/src/ant/ant/antPlugin.cc index 2c19ec65e..360e2769a 100644 --- a/src/ant/ant/antPlugin.cc +++ b/src/ant/ant/antPlugin.cc @@ -210,7 +210,7 @@ PluginDeclaration::initialized (lay::Dispatcher *root) // This provides a migration path from earlier versions (not having templates) to recent ones. std::map cat_names; for (auto i = m_templates.begin (); i != m_templates.end (); ++i) { - if (! i->category ().empty ()) { + if (! i->category ().empty () || i->category ().find ("_") == 0) { cat_names.insert (std::make_pair (i->category (), i.operator-> ())); } }