diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2017-02-22 20:26:48 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2017-02-23 05:45:53 +0000 |
commit | 4d92712a2c92c019c37238f808ae7a1900f45b97 (patch) | |
tree | 3b29315791a7912097f4d88cb651c18ae2bdf4c1 /mkspecs/unixware-g++ | |
parent | 4cd002402fe12f5e50d8267d0e9c39e525b99c2d (diff) |
QTimeZonePrivate: make clone() const, use covariant return types
There's nothing wrong with cloning a const QTimeZonePrivate, so make
clone() const.
Also, if you're cloning a QTzTimeZonePrivate, you already know that
you get a QTzTimeZonePrivate back. C++ supports covariant return types
for this reason, so use them.
Change-Id: I60e19e89b1b7bad080c552f1baca314ab0a6295e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'mkspecs/unixware-g++')
0 files changed, 0 insertions, 0 deletions