From 06c73954d6f17e8bde9c07d0b660f5291b8913dc Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 15 Sep 2016 11:42:51 -0400 Subject: [PATCH] move set|getStartTime functions down to where they need to be. --- src/zm_monitor.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/zm_monitor.h b/src/zm_monitor.h index 7aa2664d0..cad00aca0 100644 --- a/src/zm_monitor.h +++ b/src/zm_monitor.h @@ -220,12 +220,6 @@ class Monitor inline time_t getLastConnectTime() const { return( last_connect_time ); } - inline time_t getStartupTime() const { - return( shared_data->startup_time ); - } - inline void setStartupTime( time_t p_time ) { - shared_data->startup_time = p_time; - } bool connect(); bool disconnect(); @@ -462,6 +456,12 @@ public: void ForceAlarmOff(); void CancelForced(); TriggerState GetTriggerState() const { return( (TriggerState)(trigger_data?trigger_data->trigger_state:TRIGGER_CANCEL )); } + inline time_t getStartupTime() const { + return( shared_data->startup_time ); + } + inline void setStartupTime( time_t p_time ) { + shared_data->startup_time = p_time; + } void actionReload(); void actionEnable();