BUG: sortedToc: reference to copy. Fixes #2554
This commit is contained in:
parent
542fc0c1d1
commit
77ecc4c6e0
@ -152,7 +152,7 @@ void Foam::PrintTable<KeyType, DataType>::print
|
||||
|
||||
os << endl;
|
||||
|
||||
const List<KeyType>& sortedTable = combinedTable.sortedToc();
|
||||
const List<KeyType> sortedTable(combinedTable.sortedToc());
|
||||
|
||||
forAll(sortedTable, keyI)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user