class MODULE: use timestamp_t instead of time_t in SetLastEditTime and GetLastEditTime, like in all other methods using a time stamp.

This commit is contained in:
jean-pierre charras 2018-03-27 20:43:52 +02:00
parent 2edc675eaf
commit ffa454d6f9
1 changed files with 3 additions and 3 deletions

View File

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