summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qdatetime.h
diff options
context:
space:
mode:
authorHarald Fernengel <harald@trolltech.com>2009-08-20 13:34:04 (GMT)
committerHarald Fernengel <harald@trolltech.com>2009-08-20 15:11:03 (GMT)
commitc2bde443f2510798de9d815af13d5947317fc7d1 (patch)
treea5d0f01d23d99a77efe1024ec94720392f41a379 /src/corelib/tools/qdatetime.h
parentec32395d96ffc90f775bbadb1e9ef6e64c69b5cd (diff)
downloadQt-c2bde443f2510798de9d815af13d5947317fc7d1.zip
Qt-c2bde443f2510798de9d815af13d5947317fc7d1.tar.gz
Qt-c2bde443f2510798de9d815af13d5947317fc7d1.tar.bz2
Use QExplicitlySharedDataPointer
part of the task to get rid of QScopedSharedPointer
Diffstat (limited to 'src/corelib/tools/qdatetime.h')
-rw-r--r--src/corelib/tools/qdatetime.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qdatetime.h b/src/corelib/tools/qdatetime.h
index 84d3e83..988d1a2 100644
--- a/src/corelib/tools/qdatetime.h
+++ b/src/corelib/tools/qdatetime.h
@@ -44,7 +44,7 @@
#include <QtCore/qstring.h>
#include <QtCore/qnamespace.h>
-#include <QtCore/qscopedpointer.h>
+#include <QtCore/qsharedpointer.h>
QT_BEGIN_HEADER
@@ -285,7 +285,7 @@ public:
private:
friend class QDateTimePrivate;
void detach();
- QScopedSharedPointer<QDateTimePrivate> d;
+ QExplicitlySharedDataPointer<QDateTimePrivate> d;
#ifndef QT_NO_DATASTREAM
friend Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QDateTime &);