mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: new/revised emplace_back() [for DynamicList/List/PtrDynList/PtrList]
- returns reference as per C++17 std::vector STYLE: drop unused, redundant DynamicField remove() method
This commit is contained in:
@ -108,8 +108,8 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
if (surf->interfaceCell()[celli])
|
||||
{
|
||||
centres.append(surf->centre()[celli]);
|
||||
normals.append(surf->normal()[celli]);
|
||||
centres.push_back(surf->centre()[celli]);
|
||||
normals.push_back(surf->normal()[celli]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user