From 78383c88f36d397b30229585078a68a6d27a8b42 Mon Sep 17 00:00:00 2001 From: "Koefferlein Matthias (IFAG DES TCP FLP)" Date: Fri, 9 Dec 2022 16:33:02 +0100 Subject: [PATCH] Grml .. fixed implementation of previous commit --- 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 360e2769a..4e9ac5cd0 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 () || i->category ().find ("_") == 0) { + if (i->category ().find ("_") == 0) { cat_names.insert (std::make_pair (i->category (), i.operator-> ())); } }