]> git.saurik.com Git - apt.git/commit
Mark SPtr as deprecated, and convert users to std::unique_ptr
authorJulian Andres Klode <jak@debian.org>
Thu, 13 Aug 2015 08:49:31 +0000 (10:49 +0200)
committerJulian Andres Klode <jak@debian.org>
Thu, 13 Aug 2015 09:30:59 +0000 (11:30 +0200)
commit6c413b188618b9fcb5368b60971dfa5d45b3cd74
treeb50631d5318f7846368b9cc32f02568bdf86d895
parent47c37a1bfc2f2f372bf057bf68bde0b3b6f0ec8f
Mark SPtr as deprecated, and convert users to std::unique_ptr

Switch to std::unique_ptr, as this is safer than SPtr.
apt-pkg/contrib/sptr.h
apt-pkg/pkgcachegen.cc
apt-private/private-install.cc
cmdline/apt-get.cc