Reverting change to const status of network_time. Also, see FIXME: in Func.cc / HandlePluginResult ...

This commit is contained in:
Gilbert Clark 2014-09-19 21:55:47 -04:00
parent 1a456cf9f7
commit 8d04f58eda
5 changed files with 23 additions and 10 deletions

View file

@ -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;

View file

@ -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.

View file

@ -285,7 +285,7 @@ void Plugin::HookDrainEvents()
{
}
void Plugin::HookUpdateNetworkTime(const double network_time)
void Plugin::HookUpdateNetworkTime(double network_time)
{
}

View file

@ -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