regIOobjectRead: Corrected handling of dictionary files declared as type dictionary

This commit is contained in:
Henry Weller
2019-08-08 20:59:19 +01:00
parent 33d6d49321
commit f65f1d6883

View File

@ -160,6 +160,7 @@ Foam::Istream& Foam::regIOobject::readStream
read
&& expectName.size()
&& headerClassName() != expectName
&& headerClassName() != dictionary::typeName
)
{
if (expectName == dictionary::typeName)