diff options
-rw-r--r-- | src/corelib/tools/qsharedpointer_impl.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/corelib/tools/qsharedpointer_impl.h b/src/corelib/tools/qsharedpointer_impl.h index 706c6ab..2d48bdb 100644 --- a/src/corelib/tools/qsharedpointer_impl.h +++ b/src/corelib/tools/qsharedpointer_impl.h @@ -178,18 +178,6 @@ namespace QtSharedPointer { }; template <class T, typename Deleter> - struct ExternalRefCountWithSpecializedDeleter: public ExternalRefCountData - { - T *ptr; - Deleter deleter; - - inline ExternalRefCountWithSpecializedDeleter(T *p, Deleter d) - : ptr(p), deleter(d) - { } - inline bool destroy() { executeDeleter(ptr, deleter); return true; } - }; - - template <class T, typename Deleter> struct CustomDeleter { Deleter deleter; |