11 Mar
2010
11 Mar
'10
3:40 a.m.
On Tue, Mar 9, 2010 at 6:38 AM, Avi Bahra
This is caused by a bug in the boost serialisation, well at least in 1.39 Where is assumes that shared ptr must be polymorphic I have already reported a similar problem. i.e
Oh I *SO* hate that bug, so very much.
On Tue, Mar 9, 2010 at 6:38 AM, Avi Bahra
It looks like if we are serialising via a base ptr, and the base class is serialising concrete data member via a shared ptr, it has assumed that the type must be polymorphic. This does not seem right to me ? The hacky way to stop your warning message would be add a dummy virtual function.
Which I had to do, which added a virtual table, which bloats the size of my small classes needlessly...