diff options
| author | Ivan Solovev <ivan.solovev@qt.io> | 2023-08-17 13:18:09 +0200 |
|---|---|---|
| committer | Ivan Solovev <ivan.solovev@qt.io> | 2023-08-18 18:00:09 +0200 |
| commit | e6a36f21a3c44943afc8c60b9dc2e40976fcdb49 (patch) | |
| tree | defedd72f843720fdd72cab542532dc04c0f1e75 /src/corelib/plugin/quuid.cpp | |
| parent | 14cf4f75848180503d3c83ff1d9aeb4536c307b7 (diff) | |
QNativeIpcKey: improve operator==()
There is no need to check if lhs.d == rhs.d in the end of the function,
because we already have the same condition earlier.
If none of the previous conditions was true, we can just return false.
This commit amends 7a370838177e581c8a9342808ba86e081951a41c.
Pick-to: 6.6
Change-Id: I06dca9b3dedf5895820685a6ded5363963e6fa3f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/corelib/plugin/quuid.cpp')
0 files changed, 0 insertions, 0 deletions
