Re-sorting FBL_ArraySet?
Arthur Clemens
aclemens at xs4all.nl
Mon Dec 1 23:09:17 CST 2003
>>
>
> But you check mShownSet pointer.
>
> C++ language has the next trap
>
>
> p1 = some object
> p2 = p1
>
> delete p1;
> p1 = NULL;
>
>
> p2 still is not NULL !!!
>
> so if you try code as
>
> if( p2 )
> delete p2; // CRASH!
>
Hmm, that is pretty basic. My C++ is not so fresh anymore (well was
it?).
Removing the 'delete mShownSet' made it work.
Thanks for the help.
Arthur
More information about the Valentina
mailing list