Made InitDictionary() a pure virtual function to force explicit initialization in derived classes.

This commit is contained in:
Ulrich Germann 2013-05-21 19:06:39 +01:00
parent 11632e298e
commit 7996378ffb

View File

@ -82,8 +82,7 @@ public:
const ChartCellCollectionBase &) = 0;
//Initialises the dictionary (may involve loading from file)
virtual bool InitDictionary()
{ return true; }
virtual bool InitDictionary() = 0;
//Get the dictionary. Be sure to initialise it first.
const PhraseDictionary* GetDictionary() const;