mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Remove all of the random single-file deprecations
These are the changes that don't require a ton of changes to other files outside of the original removal.
This commit is contained in:
parent
7e9d89db0a
commit
0618be792f
270 changed files with 36 additions and 4632 deletions
|
@ -53,9 +53,6 @@ public:
|
|||
*/
|
||||
const EnumTypePtr& GetTagType() const;
|
||||
|
||||
[[deprecated("Remove in v4.1. Use GetTagType() instead.")]]
|
||||
EnumType* GetTagEnumType() const;
|
||||
|
||||
/**
|
||||
* Get a component name from its tag.
|
||||
*
|
||||
|
@ -72,9 +69,6 @@ public:
|
|||
*/
|
||||
const std::string& GetComponentName(EnumValPtr val) const;
|
||||
|
||||
[[deprecated("Remove in v4.1. Use IntrusivePtr argument instead.")]]
|
||||
const std::string& GetComponentName(Val* val) const;
|
||||
|
||||
/**
|
||||
* Get a component tag from its name.
|
||||
*
|
||||
|
@ -167,12 +161,6 @@ const EnumTypePtr& ComponentManager<T, C>::GetTagType() const
|
|||
return tag_enum_type;
|
||||
}
|
||||
|
||||
template <class T, class C>
|
||||
EnumType* ComponentManager<T, C>::GetTagEnumType() const
|
||||
{
|
||||
return tag_enum_type.get();
|
||||
}
|
||||
|
||||
template <class T, class C>
|
||||
const std::string& ComponentManager<T, C>::GetComponentName(T tag) const
|
||||
{
|
||||
|
@ -197,12 +185,6 @@ const std::string& ComponentManager<T, C>::GetComponentName(EnumValPtr val) cons
|
|||
return GetComponentName(T(std::move(val)));
|
||||
}
|
||||
|
||||
template <class T, class C>
|
||||
const std::string& ComponentManager<T, C>::GetComponentName(Val* val) const
|
||||
{
|
||||
return GetComponentName(T({NewRef{}, val->AsEnumVal()}));
|
||||
}
|
||||
|
||||
template <class T, class C>
|
||||
T ComponentManager<T, C>::GetComponentTag(const std::string& name) const
|
||||
{
|
||||
|
@ -266,11 +248,3 @@ void ComponentManager<T, C>::RegisterComponent(C* component,
|
|||
}
|
||||
|
||||
} // namespace zeek::plugin
|
||||
|
||||
namespace plugin {
|
||||
|
||||
template <class T, class C>
|
||||
using ComponentManager [[deprecated("Remove in v4.1. Use zeek::plugin::ComponentManager instead.")]] =
|
||||
zeek::plugin::ComponentManager<T, C>;
|
||||
|
||||
} // namespace plugin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue