diff options
| author | Ivan Solovev <ivan.solovev@qt.io> | 2024-08-26 19:30:40 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2024-08-30 08:29:24 +0000 |
| commit | 5ac15093dcbaf92ac166961f5e8bfe9418cc15c0 (patch) | |
| tree | e935babf69f8c4aae2096e55ce3e7baf86463873 /src/sql/doc/snippets/sqldatabase | |
| parent | 364ac13a79a8fff0447a62e9af5588db397c0bfd (diff) | |
serialization: remove incorrect noexcept on comparison operators [2/2]
This patch is about removing noexcept on functions that use
Q_ASSERT. The argument is that in these cases Q_ASSERTs act as
precondition checks, so we should probably follow the Lakos rule.
Although, technically the change is fine, because the current
implementation of Q_ASSERT is marked as noexcept(true), there are
some ideas of changing that in future, so we should not be setting
in stone something we can't change later.
Found in 6.8 API review.
Pick-to: 6.8
Change-Id: I1d4aa228c713821c0ebbfc0f3b956d29fe652ed8
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/sql/doc/snippets/sqldatabase')
0 files changed, 0 insertions, 0 deletions
