diff options
| author | Arno Rehn <a.rehn@menlosystems.com> | 2021-07-09 16:15:48 +0200 |
|---|---|---|
| committer | Arno Rehn <a.rehn@menlosystems.com> | 2021-07-12 18:33:19 +0200 |
| commit | 70051c55fe80296dd135049fe4d2c49f51b38010 (patch) | |
| tree | 9f50826fccba07b40fbb4cb5313cac4e2169d84d /src/gui/doc/snippets/droprectangle/window.cpp | |
| parent | 1f2d756d92b9263fd823278cf417528cdc73685c (diff) | |
Move IsSequentialContainer tagging to the appropriate macro
Originally, the template specialization QtPrivate::IsSequentialContainer
was done in Q_DECLARE_METATYPE_TEMPLATE_1ARG. This was conceptually
wrong and prevented re-using Q_DECLARE_METATYPE_TEMPLATE_1ARG.
This patch moves the specialization to
Q_DECLARE_SEQUENTIAL_CONTAINER_METATYPE, which makes it symmetrical to
Q_DECLARE_ASSOCIATIVE_CONTAINER_METATYPE and allows re-using
Q_DECLARE_METATYPE_TEMPLATE_1ARG with non-container templated types.
Change-Id: I3b952ed36e4c140bce3511aebc1e5599c4822e34
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/droprectangle/window.cpp')
0 files changed, 0 insertions, 0 deletions
