mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge remote-tracking branch 'origin/develop' into develop-pre-release
This commit is contained in:
@ -122,11 +122,10 @@ void Foam::functionObjects::runTimePostPro::scene::readColours
|
||||
const dictionary& dict
|
||||
)
|
||||
{
|
||||
const wordList colours = dict.toc();
|
||||
forAll(colours, i)
|
||||
const wordList colours(dict.toc());
|
||||
for (const word& c : colours)
|
||||
{
|
||||
const word& c = colours[i];
|
||||
colours_.insert(c, Function1<vector>::New(c, dict).ptr());
|
||||
colours_.insert(c, Function1<vector>::New(c, dict));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user