functionObjectList::wordAndDictionary: Added null constructor for pre-7 gcc versions

Resolves bug-report https://bugs.openfoam.org/view.php?id=3479
This commit is contained in:
Henry Weller
2020-04-10 16:08:04 +01:00
parent 876845d0f4
commit b9c7428619
2 changed files with 9 additions and 0 deletions

View File

@ -27,6 +27,12 @@ License
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
Foam::wordAndDictionary::wordAndDictionary()
:
Tuple2<word, dictionary>()
{}
Foam::wordAndDictionary::wordAndDictionary(Istream& is)
:
Tuple2<word, dictionary>()

View File

@ -89,6 +89,9 @@ public:
//- Inherit tuple constructors
using Tuple2<word, dictionary>::Tuple2;
//- Construct null
wordAndDictionary();
//- Construct from Istream
wordAndDictionary(Istream&);