mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
const adjustment
And fixes compiler warning about overloaded virtual function hiding.
This commit is contained in:
parent
841604bebe
commit
0394493fac
2 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ analyzer::Tag Component::Tag() const
|
|||
return tag;
|
||||
}
|
||||
|
||||
void Component::Describe(ODesc* d)
|
||||
void Component::Describe(ODesc* d) const
|
||||
{
|
||||
plugin::Component::Describe(d);
|
||||
d->Add(name);
|
||||
|
|
|
@ -90,7 +90,7 @@ public:
|
|||
* Generates a human-readable description of the component's main
|
||||
* parameters. This goes into the output of \c "bro -NN".
|
||||
*/
|
||||
virtual void Describe(ODesc* d);
|
||||
virtual void Describe(ODesc* d) const;
|
||||
|
||||
Component& operator=(const Component& other);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue