diff options
author | Harald Fernengel <harald@trolltech.com> | 2009-08-20 13:34:04 (GMT) |
---|---|---|
committer | Harald Fernengel <harald@trolltech.com> | 2009-08-20 15:11:03 (GMT) |
commit | c2bde443f2510798de9d815af13d5947317fc7d1 (patch) | |
tree | a5d0f01d23d99a77efe1024ec94720392f41a379 /src/corelib/tools/qdatetime_p.h | |
parent | ec32395d96ffc90f775bbadb1e9ef6e64c69b5cd (diff) | |
download | Qt-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_p.h')
-rw-r--r-- | src/corelib/tools/qdatetime_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qdatetime_p.h b/src/corelib/tools/qdatetime_p.h index 0284ed1..227e4fb 100644 --- a/src/corelib/tools/qdatetime_p.h +++ b/src/corelib/tools/qdatetime_p.h @@ -81,9 +81,9 @@ class QDateTimePrivate public: enum Spec { LocalUnknown = -1, LocalStandard = 0, LocalDST = 1, UTC = 2, OffsetFromUTC = 3}; - QDateTimePrivate() : ref(1), spec(LocalUnknown), utcOffset(0) {} + QDateTimePrivate() : spec(LocalUnknown), utcOffset(0) {} QDateTimePrivate(const QDateTimePrivate &other) - : ref(1), date(other.date), time(other.time), spec(other.spec), utcOffset(other.utcOffset) + : date(other.date), time(other.time), spec(other.spec), utcOffset(other.utcOffset) {} QAtomicInt ref; |