mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: sortedToc: reference to copy. Fixes #2554
This commit is contained in:
@ -152,7 +152,7 @@ void Foam::PrintTable<KeyType, DataType>::print
|
|||||||
|
|
||||||
os << endl;
|
os << endl;
|
||||||
|
|
||||||
const List<KeyType>& sortedTable = combinedTable.sortedToc();
|
const List<KeyType> sortedTable(combinedTable.sortedToc());
|
||||||
|
|
||||||
forAll(sortedTable, keyI)
|
forAll(sortedTable, keyI)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user