On 10-07-18 12:05 PM, Sohail Somani wrote:
>
> However, when I try to use it as a field:
>
>
>      template<typename Action>
>      void
>      persist(Action & a)
>      {
>        dbo::field(a,m_colour,"colour");
>      }
>
> I get the following error:
>
> vendor/Wt/Wt/Dbo/DbAction_impl.h:19: error: 'struct w::Colour' has no
> member named 'persist'


Argh, I figured it out: my test was doing session.mapClass<Colour>()

Thanks :-)


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to