summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-07-24 20:49:46 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-07-24 20:49:46 (GMT)
commit3a8c8583545b4d5eb0b1fe8d17838bea2b819703 (patch)
tree7be65b4b60da4ba633c26744ed5bd2cc564b709a
parentb7c29570b9f6fecb6f042532f81e100a1f9b99a9 (diff)
downloadQt-3a8c8583545b4d5eb0b1fe8d17838bea2b819703.zip
Qt-3a8c8583545b4d5eb0b1fe8d17838bea2b819703.tar.gz
Qt-3a8c8583545b4d5eb0b1fe8d17838bea2b819703.tar.bz2
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)
-rw-r--r--src/corelib/tools/qsharedpointer_impl.h12
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;