QDateTimePrivate: remove pointless copy ctor
The compiler-generated one is just as fine, more maintainable, and doesn't inhibit moves (which probably doesn't matter here). No change in executable code size. Change-Id: Ideee493a5911808430d3e09e6eb07e91d7a19b12 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>bb10
parent
70bfc75d18
commit
df0d933db5
|
|
@ -101,16 +101,6 @@ public:
|
|||
QDateTimePrivate(const QDate &toDate, const QTime &toTime, const QTimeZone & timeZone);
|
||||
#endif // QT_BOOTSTRAPPED
|
||||
|
||||
QDateTimePrivate(const QDateTimePrivate &other) : QSharedData(other),
|
||||
m_msecs(other.m_msecs),
|
||||
m_spec(other.m_spec),
|
||||
m_offsetFromUtc(other.m_offsetFromUtc),
|
||||
#ifndef QT_BOOTSTRAPPED
|
||||
m_timeZone(other.m_timeZone),
|
||||
#endif // QT_BOOTSTRAPPED
|
||||
m_status(other.m_status)
|
||||
{}
|
||||
|
||||
// ### XXX: when the tooling situation improves, look at fixing the padding.
|
||||
// 4 bytes padding
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue