From ffa454d6f98e35d4162fe39357045760ed6b81a3 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Tue, 27 Mar 2018 20:43:52 +0200 Subject: [PATCH] class MODULE: use timestamp_t instead of time_t in SetLastEditTime and GetLastEditTime, like in all other methods using a time stamp. --- pcbnew/class_module.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pcbnew/class_module.h b/pcbnew/class_module.h index 8b82b69271..919886213d 100644 --- a/pcbnew/class_module.h +++ b/pcbnew/class_module.h @@ -306,9 +306,9 @@ public: m_ModuleStatus &= ~MODULE_PADS_LOCKED; } - void SetLastEditTime( time_t aTime ) { m_LastEditTime = aTime; } + void SetLastEditTime( timestamp_t aTime ) { m_LastEditTime = aTime; } void SetLastEditTime() { m_LastEditTime = time( NULL ); } - time_t GetLastEditTime() const { return m_LastEditTime; } + timestamp_t GetLastEditTime() const { return m_LastEditTime; } /* drawing functions */ @@ -736,7 +736,7 @@ private: wxString m_KeyWord; ///< Search keywords to find module in library. wxString m_Path; ZoneConnection m_ZoneConnection; - time_t m_LastEditTime; + timestamp_t m_LastEditTime; int m_arflag; ///< Use to trace ratsnest and auto routing. double m_Surface; ///< Bounding box area timestamp_t m_Link; ///< Temporary logical link used in edition