I have got a code snippet. When I am trying to compile it, I am getting an error:
no matching function for call to ‘Journal::Journal()’
dBestSeller, dCheckedOut, dCheckOutDate, dCustomer) {
^
Article::Article(int dId, QString dTitle, QList<QString> *dAuthors,
QList<QString> *dkeywords, QString dPublisher, int dPrice,
Journal dJournal,bool dReference, bool dBestSeller,
bool dCheckedOut, QDate *dCheckOutDate, Patron *dCustomer)
: Document(dId, dTitle, dAuthors, dkeywords, dPublisher, dPrice,
dReference, dBestSeller, dCheckedOut, dCheckOutDate, dCustomer)
{
journal = dJournal;
}
I suppose that somewhere there is an implicit constructor call. Where can it be?