mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: dictionary: make virtual for on-the-fly c++
This commit is contained in:
@ -241,10 +241,13 @@ Foam::IOdictionary::IOdictionary(const IOobject& io, const dictionary& dict)
|
||||
|
||||
Foam::IOdictionary::IOdictionary(const IOobject& io, Istream& is)
|
||||
:
|
||||
regIOobject(io),
|
||||
dictionary(is)
|
||||
regIOobject(io)
|
||||
{
|
||||
dictionary::name() = IOobject::objectPath();
|
||||
// Note that we do construct the dictionary null and read in afterwards
|
||||
// so that if there is some fancy massaging due to a functionEntry in
|
||||
// the dictionary at least the type information is already complete.
|
||||
is >> *this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -239,7 +239,7 @@ public:
|
||||
|
||||
|
||||
//- Destructor
|
||||
~dictionary();
|
||||
virtual ~dictionary();
|
||||
|
||||
|
||||
// Member functions
|
||||
|
||||
Reference in New Issue
Block a user