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
23418: [OCC] Mesh: Minimization of memory usage of SMESH
[modules/smesh.git]
/
src
/
SMDS
/
ObjectPool.hxx
diff --git
a/src/SMDS/ObjectPool.hxx
b/src/SMDS/ObjectPool.hxx
index ef514b353b0388fdcf4b61eb0cb8924a1742327e..d7eea28c32a812a0bcc20774556633d32aba4c83 100644
(file)
--- a/
src/SMDS/ObjectPool.hxx
+++ b/
src/SMDS/ObjectPool.hxx
@@
-28,9
+28,9
@@
namespace
{
// assure deallocation of memory of a vector
- template<class Y> void clearVector(
std::vector<Y>
& v )
+ template<class Y> void clearVector(
Y
& v )
{
-
std::vector<Y>
emptyVec; v.swap( emptyVec );
+
Y
emptyVec; v.swap( emptyVec );
}
}