mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Reverting change to const status of network_time. Also, see FIXME: in Func.cc / HandlePluginResult ...
This commit is contained in:
parent
1a456cf9f7
commit
8d04f58eda
5 changed files with 23 additions and 10 deletions
|
@ -645,7 +645,7 @@ void Manager::HookDrainEvents() const
|
|||
|
||||
}
|
||||
|
||||
void Manager::HookUpdateNetworkTime(const double network_time) const
|
||||
void Manager::HookUpdateNetworkTime(double network_time) const
|
||||
{
|
||||
HookArgumentList args;
|
||||
|
||||
|
|
|
@ -261,7 +261,7 @@ public:
|
|||
*
|
||||
* @param network_time The new network time.
|
||||
*/
|
||||
void HookUpdateNetworkTime(const double network_time) const;
|
||||
void HookUpdateNetworkTime(double network_time) const;
|
||||
|
||||
/**
|
||||
* Hook that informs plugins that the event queue is being drained.
|
||||
|
|
|
@ -285,7 +285,7 @@ void Plugin::HookDrainEvents()
|
|||
{
|
||||
}
|
||||
|
||||
void Plugin::HookUpdateNetworkTime(const double network_time)
|
||||
void Plugin::HookUpdateNetworkTime(double network_time)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -605,9 +605,9 @@ protected:
|
|||
* Hook for updates to network time. This method will be called
|
||||
* whenever network time is advanced.
|
||||
*
|
||||
* @param networkt_time The new network time.
|
||||
* @param network_time The new network time.
|
||||
*/
|
||||
virtual void HookUpdateNetworkTime(const double network_time);
|
||||
virtual void HookUpdateNetworkTime(double network_time);
|
||||
|
||||
/**
|
||||
* Hook for destruction of objects registered with
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue