[odb-users] #pragma view pointer() ignored on Windows

Boris Kolpackov boris at codesynthesis.com
Thu May 28 07:24:37 EDT 2015

Hi Adnan,

Adnan RIHAN <axel50397 at gmail.com> writes:
> erreur : no match for 'operator=' (operand types are
>  'QSharedPointer<offer_view>' and
>  'odb::object_traits<offer_view>::pointer_type {aka offer_view*}')

I am pretty sure this is a known bug in the query_one() implementation
(notice object_traits; it should be view_traits).

Here are two patches that fix it:




More information about the odb-users mailing list