]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/sptr.h
unfuzzy various strings in manpage po's
[apt.git] / apt-pkg / contrib / sptr.h
index 92f4cdec827e9bf510b0145f4bb35684be917a73..ee4a65d60a618a2b49af3ecd15f6084b6b5f0cbf 100644 (file)
                                                                        /*}}}*/
 #ifndef SMART_POINTER_H
 #define SMART_POINTER_H
+#include <apt-pkg/macros.h>
 
 template <class T>
-class APT_DEPRECATED SPtr
+class APT_DEPRECATED_MSG("use std::unique_ptr instead") SPtr
 {
    public:
    T *Ptr;
@@ -43,7 +44,7 @@ class APT_DEPRECATED SPtr
 };
 
 template <class T>
-class APT_DEPRECATED SPtrArray
+class APT_DEPRECATED_MSG("use std::unique_ptr instead") SPtrArray
 {
    public:
    T *Ptr;