summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-08-13 10:49:31 +0200
committerJulian Andres Klode <jak@debian.org>2015-08-13 11:30:59 +0200
commit6c413b188618b9fcb5368b60971dfa5d45b3cd74 (patch)
treeb50631d5318f7846368b9cc32f02568bdf86d895 /apt-pkg/contrib
parent47c37a1bfc2f2f372bf057bf68bde0b3b6f0ec8f (diff)
Mark SPtr as deprecated, and convert users to std::unique_ptr
Switch to std::unique_ptr, as this is safer than SPtr.
Diffstat (limited to 'apt-pkg/contrib')
-rw-r--r--apt-pkg/contrib/sptr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/contrib/sptr.h b/apt-pkg/contrib/sptr.h
index e2e811b1d..5cf118b84 100644
--- a/apt-pkg/contrib/sptr.h
+++ b/apt-pkg/contrib/sptr.h
@@ -22,7 +22,7 @@
#define SMART_POINTER_H
template <class T>
-class SPtr
+class APT_DEPRECATED SPtr
{
public:
T *Ptr;