1455321ace
- Most of the usages of 'release' are temporary here, but a few will likely need to stay. In these cases, the existing behaviour is retained. To fix all usages, smart pointers would need to be used all throughout the tree - The freecad_cast looks awkward now. I haven't added a new version that works with smart pointers because it's not clear what the right ownership semantics would be. Make the caller be explicit for now.