diff options
| author | Edward Welbourne <edward.welbourne@qt.io> | 2024-01-09 19:01:36 +0100 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@qt.io> | 2024-02-02 08:26:09 +0100 |
| commit | 5d451d514cc35402b04288372483223d6c893c47 (patch) | |
| tree | 5eb63c6fc96391bde240b41e1066e0de65be9b6c /src/widgets/doc/snippets/widgetdelegate.cpp | |
| parent | 063026cc503e0c02af781caf920f5abfa0416268 (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
