diff options
| author | Edward Welbourne <edward.welbourne@qt.io> | 2021-02-24 13:27:15 +0100 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@qt.io> | 2021-03-01 16:44:43 +0100 |
| commit | 5af6b59b6e7d1b88de219570011ea482603ea684 (patch) | |
| tree | b3f0acd40bcb4ed97ae719d65f108a910f1ece2a /src/corelib/tools/qcommandlineparser.cpp | |
| parent | 902505a0584959fed9d0784ab5308f9d70fe68a9 (diff) | |
Rework an assertion to eliminate a common sub-expression using a lambda
This take more lines but makes the condition clearer and the lines
shorter, even after converting to use the names for constants in the
condition.
Change-Id: I9e5b7b79ff62095ed11b8723be238444fd32d9c1
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qcommandlineparser.cpp')
0 files changed, 0 insertions, 0 deletions
