X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/6c413b188618b9fcb5368b60971dfa5d45b3cd74..d27daedb6a0bf672508072100f20233d08ccf0e0:/apt-pkg/contrib/sptr.h?ds=sidebyside diff --git a/apt-pkg/contrib/sptr.h b/apt-pkg/contrib/sptr.h index 5cf118b84..ee4a65d60 100644 --- a/apt-pkg/contrib/sptr.h +++ b/apt-pkg/contrib/sptr.h @@ -20,9 +20,10 @@ /*}}}*/ #ifndef SMART_POINTER_H #define SMART_POINTER_H +#include template -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 SPtrArray +class APT_DEPRECATED_MSG("use std::unique_ptr instead") SPtrArray { public: T *Ptr;