diff --git a/src/plugin/ComponentManager.h b/src/plugin/ComponentManager.h index 927867fe1d..8f41405105 100644 --- a/src/plugin/ComponentManager.h +++ b/src/plugin/ComponentManager.h @@ -151,7 +151,7 @@ private: std::map components_by_name; std::map components_by_tag; - std::map components_by_val; + std::map components_by_val; }; template @@ -288,7 +288,8 @@ template C* ComponentManager::Lookup(const zeek::Tag& tag) const template C* ComponentManager::Lookup(EnumVal* val) const { - typename std::map::const_iterator i = components_by_val.find(val->InternalInt()); + typename std::map::const_iterator i = components_by_val.find( + val->InternalInt()); return i != components_by_val.end() ? i->second : nullptr; }