mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Merge branch 'master' into topic/jsiwek/broxygen
This commit is contained in:
commit
47d7d9047b
200 changed files with 2709 additions and 9011 deletions
|
@ -169,11 +169,12 @@ const char* ComponentManager<T, C>::GetComponentName(T tag) const
|
|||
|
||||
C* c = Lookup(tag);
|
||||
|
||||
if ( ! c )
|
||||
reporter->InternalError("request for name of unknown component tag %s",
|
||||
tag.AsString().c_str());
|
||||
if ( c )
|
||||
return c->CanonicalName();
|
||||
|
||||
return c->CanonicalName();
|
||||
reporter->InternalWarning("requested name of unknown component tag %s",
|
||||
tag.AsString().c_str());
|
||||
return error;
|
||||
}
|
||||
|
||||
template <class T, class C>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue