mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Update code to use the simpler C++11 template syntax removing spaces between closing ">"s
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -424,7 +424,7 @@ Foam::face Foam::meshCutter::addEdgeCutsToFace(const label faceI) const
|
||||
// Check if edge has been cut.
|
||||
label fp1 = f.fcIndex(fp);
|
||||
|
||||
HashTable<label, edge, Hash<edge> >::const_iterator fnd =
|
||||
HashTable<label, edge, Hash<edge>>::const_iterator fnd =
|
||||
addedPoints_.find(edge(f[fp], f[fp1]));
|
||||
|
||||
if (fnd != addedPoints_.end())
|
||||
@ -483,7 +483,7 @@ Foam::face Foam::meshCutter::loopToFace
|
||||
if (edgeI != -1)
|
||||
{
|
||||
// Existing edge. Insert split-edge point if any.
|
||||
HashTable<label, edge, Hash<edge> >::const_iterator fnd =
|
||||
HashTable<label, edge, Hash<edge>>::const_iterator fnd =
|
||||
addedPoints_.find(mesh().edges()[edgeI]);
|
||||
|
||||
if (fnd != addedPoints_.end())
|
||||
@ -1043,11 +1043,11 @@ void Foam::meshCutter::updateMesh(const mapPolyMesh& morphMap)
|
||||
}
|
||||
|
||||
{
|
||||
HashTable<label, edge, Hash<edge> > newAddedPoints(addedPoints_.size());
|
||||
HashTable<label, edge, Hash<edge>> newAddedPoints(addedPoints_.size());
|
||||
|
||||
for
|
||||
(
|
||||
HashTable<label, edge, Hash<edge> >::const_iterator iter =
|
||||
HashTable<label, edge, Hash<edge>>::const_iterator iter =
|
||||
addedPoints_.begin();
|
||||
iter != addedPoints_.end();
|
||||
++iter
|
||||
|
||||
Reference in New Issue
Block a user