[odb-users] Compilation error when calling QLazyWeakPointer<T>::load()

Gilles Bene gilles.benepougoue at gmail.com
Thu Feb 23 12:44:53 EST 2017


Wouah , thanks a lot for your quality technical supply. I've included the
file
Sortie-odb.hxx Sortie-odb.hxx in the source file where I call load() and
every thing is ok.
Thanks once more. You have a fabulous peace of software. I've been using it
for just a month
and am loving it.

On 23 February 2017 at 17:54, Boris Kolpackov <boris at codesynthesis.com>
wrote:

> Hi Gilles,
>
> Gilles Bene <gilles.benepougoue at gmail.com> writes:
>
> >   template <>
> >   class access::object_traits< ::Sortie >
> >   {
> >     public:
> >     typedef ::Sortie object_type;
> >     typedef ::QSharedPointer< ::Sortie > pointer_type;
>
> Yes, this looks correct.
>
>
> > I looked for anything like odb::object_traits<Sortie>::pointer_type
> > as appearing in the error message but couldn't fine.
>
> Hm, do you have Sortie-odb.hxx included in the source file where you
> call load()? odb::object_traits<Sortie> (defined in <odb/traits.hxx>)
> derives from odb::access::object_traits<Sortie>.
>
> Boris
>



-- 
Gilles BENE POUGOUE


More information about the odb-users mailing list