Salome HOME
0021014: EDF 1583 SMESH: Improvement of the Python Dump for the creation of groups
authoreap <eap@opencascade.com>
Thu, 23 Jun 2011 12:04:34 +0000 (12:04 +0000)
committereap <eap@opencascade.com>
Thu, 23 Jun 2011 12:04:34 +0000 (12:04 +0000)
-  unsigned long GetMTime();
+  unsigned long GetMTime() const;

src/SMDS/SMDS_Mesh.cxx
src/SMDS/SMDS_Mesh.hxx

index aebefcb0379db3a9400649e17d0e68fa20b3bfee..b27ff358a0352fede8d4c874701f1b7549cd2a90 100644 (file)
@@ -4237,7 +4237,7 @@ void SMDS_Mesh::Modified()
 }
 
 //! get last modification timeStamp
-unsigned long SMDS_Mesh::GetMTime()
+unsigned long SMDS_Mesh::GetMTime() const
 {
   return this->myModifTime;
 }
index 3d233f0133c17eb7cc710d4e04f15fc9fee0f1b7..4a26c246a7434b770517de3e423d7a6e76851e2e 100644 (file)
@@ -592,7 +592,7 @@ public:
   inline void setMyModified() { this->myModified = true; }
 
   void Modified();
-  unsigned long GetMTime();
+  unsigned long GetMTime() const;
   bool isCompacted();
 
 protected: