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:
@ -85,8 +85,8 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
else
|
||||
{
|
||||
libPtrs_.append(ptr);
|
||||
libNames_.append(libName);
|
||||
libPtrs_.push_back(ptr);
|
||||
libNames_.push_back(libName);
|
||||
|
||||
if (verbose)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user