]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/sptr.h
Mark all FileFdPrivate classes as hidden
[apt.git] / apt-pkg / contrib / sptr.h
index 5cf118b8464fdc7f16ac81ed04c33472d197cd29..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 SPtrArray
+class APT_DEPRECATED_MSG("use std::unique_ptr instead") SPtrArray
 {
    public:
    T *Ptr;