Replace svn::Shared/SmartPointer with QScopedPointer
Review Request #126419 - Created Dec. 18, 2015 and submitted
Some work to replace svn::SharedPointer/SmartPointer with QScopedPointer with the goal to completly remove svn::Shared/SmartPointer.
I'm unsure if it's really worth on most of those changes to use a QScopedPointer. A 'delete m_data' in the dtor would do the same. But this way it was a simple search'n'replace task...
Compiles fine, valgrind shows no (additional) memleaks
Yes a "delete m_data" would do the same, but it can be forgotten. QScopedPointer is therefore a better solution. Some C+11 people say in modern C++ code you should never ever have to write "delete m_data" :-)