[odb-users] Unable to Find Suitable Accessor Function Error
Greg McKeever
organgtool at gmail.com
Thu Apr 23 10:43:32 EDT 2015
Boris,
I figured it had to be something simple but it was driving me crazy that I
couldn't figure it out. Thank you for the help!
- Greg
On Apr 23, 2015 10:34 AM, "Boris Kolpackov" <boris at codesynthesis.com>
wrote:
> Hi Greg,
>
> Greg McKeever <organgtool at gmail.com> writes:
>
> > BaseTransferObject.h:24:34: error: unable to find suitable accessor
> > function 'getPrimaryKey'
> >
> > long getPrimaryKey();
>
> An accessor must be const:
>
> long getPrimaryKey() const;
>
> Boris
>
More information about the odb-users
mailing list