ENH: dictionary: make virtual for on-the-fly c++
This commit is contained in:
parent
de564957bc
commit
24eafa1b82
@ -241,10 +241,13 @@ Foam::IOdictionary::IOdictionary(const IOobject& io, const dictionary& dict)
|
|||||||
|
|
||||||
Foam::IOdictionary::IOdictionary(const IOobject& io, Istream& is)
|
Foam::IOdictionary::IOdictionary(const IOobject& io, Istream& is)
|
||||||
:
|
:
|
||||||
regIOobject(io),
|
regIOobject(io)
|
||||||
dictionary(is)
|
|
||||||
{
|
{
|
||||||
dictionary::name() = IOobject::objectPath();
|
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
|
//- Destructor
|
||||||
~dictionary();
|
virtual ~dictionary();
|
||||||
|
|
||||||
|
|
||||||
// Member functions
|
// Member functions
|
||||||
|
Loading…
Reference in New Issue
Block a user