[aquaria] crash :/
Jordi Gutiérrez Hermoso
jordigh at octave.org
Tue Apr 26 00:47:16 EDT 2011
On 25 April 2011 23:31, Mathias Panzenböck
<grosser.meister.morti at gmx.net> wrote:
> Ok, I fixed the seg fault by writing a very simple reference counting smart
> pointer (SmartPtr<Type>) and using this to hold references to
> IngredientData. :)
Just FYI, if you're using gcc and possibly other compilers, smart
pointers are already built into the C++0x standard, and gcc already
implements them. No need to roll your own.
- Jordi G. H.
More information about the aquaria