diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2013-02-11 18:05:52 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-02-12 20:19:43 +0100 |
commit | 8f00f2020b37388ab309fdf39e85a3b3c9814e1d (patch) | |
tree | f3a322710879ffcef7a8332a5f5212415224ac59 /src/widgets/widgets/qspinbox.cpp | |
parent | 74f9664f950e9ea4f385cd70f822e10d7be1aca3 (diff) |
Leave some Qt 6 remarks for QStringRef
QStringRef could have been trivial. The destructor is empty, the copy
constructor copies exactly the members and has an empty body and all the
members are POD. Both functions should be removed or defaulted in Qt 6.
When the destructor is defaulted, we can make the constructor constexpr.
We can't do that now because QStringRef is exported and some nasty
compilers (MSVC) like to export all functions, even inline ones, and
then call them without emitting a local copy.
Change-Id: Ie7509fd1a3f737a6c9156ea078d13bb347fc6be0
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/widgets/widgets/qspinbox.cpp')
0 files changed, 0 insertions, 0 deletions