[odb-users] Error in compile

nima chavooshi nima0102 at gmail.com
Sun Sep 14 14:16:37 EDT 2014


Hi Boris,

Thanks a lot for your assistance on this issue. I could compile without any
issue

On Sun, Sep 14, 2014 at 9:51 PM, Boris Kolpackov <boris at codesynthesis.com>
wrote:

> Hi Nima,
>
> nima chavooshi <nima0102 at gmail.com> writes:
>
> > But I have defined a default constructor. I attached the header of
> > classes.
>
> Looking at your Contact class I see only this constructor:
>
> Contact(string Addr,string PhoneNum);
>
> This is not the default constructor. The default constructor is the
> one that can be called without any arguments. In your case, simply
> add this to Contact:
>
> private:
>   Contact() {}
>
> You will also want to do the same for your other class(es).
>
> Boris
>


More information about the odb-users mailing list