From 3a8c8583545b4d5eb0b1fe8d17838bea2b819703 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 24 Jul 2009 22:49:46 +0200 Subject: Remove the old specialised deleter implementation from QSharedPointer. This should be binary- and source-compatible, since these QSharedPointer internal classes aren't exported. The compiler should generate the symbols in all libraries and applications that used it, which means removing it from Qt won't affect them. (In fact, these symbols shouldn't be in QtCore at all, since we don't use QSharedPointer in it) --- src/corelib/tools/qsharedpointer_impl.h | 12 ------------ 1 file changed, 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 - 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 struct CustomDeleter { Deleter deleter; -- cgit v0.12