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:
Mark Olesen
2023-01-26 11:24:25 +01:00
parent c1cdacc0b4
commit 7c60c80edd
28 changed files with 179 additions and 135 deletions

View File

@ -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]);
}
}