summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/widgetdelegate.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2024-01-09 19:01:36 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2024-02-02 08:26:09 +0100
commit5d451d514cc35402b04288372483223d6c893c47 (patch)
tree5eb63c6fc96391bde240b41e1066e0de65be9b6c /src/widgets/doc/snippets/widgetdelegate.cpp
parent063026cc503e0c02af781caf920f5abfa0416268 (diff)
Make TEST_CTOR macros use the "do { ... } while (false)" pattern
They were expanding as simple blocks, so their uses didn't end in semicolon, which looks wrong when reading the code. Pick-to: 6.7 6.6 6.5 Change-Id: Ibea7b01ac165045604b6eb7a838765b2061c368a Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/widgetdelegate.cpp')
0 files changed, 0 insertions, 0 deletions