Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Speed up "Clear mesh data"
[modules/smesh.git]
/
src
/
SMDS
/
SMDS_MeshIDFactory.cxx
diff --git
a/src/SMDS/SMDS_MeshIDFactory.cxx
b/src/SMDS/SMDS_MeshIDFactory.cxx
index 989e42be33d85bb5244680f546aefd49547a9d8f..1adbda4fbc37c48b86ad51893e87c48cb8b09f6e 100644
(file)
--- a/
src/SMDS/SMDS_MeshIDFactory.cxx
+++ b/
src/SMDS/SMDS_MeshIDFactory.cxx
@@
-81,3
+81,9
@@
void SMDS_MeshIDFactory::ReleaseID(const int ID)
}
}
}
+
+void SMDS_MeshIDFactory::Clear()
+{
+ myMaxID = 0;
+ myPoolOfID.clear();
+}