regIOobjectRead: Corrected handling of dictionary files declared as type dictionary
This commit is contained in:
@ -160,6 +160,7 @@ Foam::Istream& Foam::regIOobject::readStream
|
||||
read
|
||||
&& expectName.size()
|
||||
&& headerClassName() != expectName
|
||||
&& headerClassName() != dictionary::typeName
|
||||
)
|
||||
{
|
||||
if (expectName == dictionary::typeName)
|
||||
|
||||
Reference in New Issue
Block a user