summaryrefslogtreecommitdiffstats
path: root/src/tools/uic/cpp/cppwriteincludes.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2024-07-04 20:02:32 +0200
committerMarc Mutz <marc.mutz@qt.io>2024-07-06 09:31:16 +0200
commit74a87a329498422db0dea3e469fb84704accbb2b (patch)
tree9a9df1fe05594fad4bc321541caa9943b8afb1f2 /src/tools/uic/cpp/cppwriteincludes.cpp
parent11725d46344105325a1dec8628708ab88483ca12 (diff)
Long live QT_DEFINE_TAG(_STRUCT)!
We seem to be using more and more of these, and their definition is a bit subtle (need to have an explicit default ctor to avoid {} being an initializer for the type). Port the existing tag structs over to the new macro and add a test, even though we found two users of QT_DEFINE_TAG in QtBase alone, one of which is actually widely used (Disambiguated_t). There are more in other modules. Pick-to: 6.8 Change-Id: I046bb2b70a2c7e79be2315d91c43e5fd2f0968a0 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src/tools/uic/cpp/cppwriteincludes.cpp')
0 files changed, 0 insertions, 0 deletions