[odb-users] Lazy Pointers Exception
Boris Kolpackov
boris at codesynthesis.com
Thu Jul 4 08:43:39 EDT 2013
Hi Tarik,
Tarik BENZ <tenchu.tarik at hotmail.fr> writes:
> Error 1 error C2679: binary '=' : no operator found which takes
> a right-hand operand of type 'Dose *' (or there is no acceptable
> conversion) ..\ODB\libodb-2.2.2\odb\lazy-ptr.ixx line 1132 1
You are using shared_lazy_ptr while your Dose class uses raw pointer
as an object pointer. I suggest that you compile all your headers with
the following ODB compiler option:
--default-pointer std::shared_ptr
Boris
More information about the odb-users
mailing list