diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2024-08-27 00:32:53 +0300 |
|---|---|---|
| committer | Ahmad Samir <a.samirh78@gmail.com> | 2024-08-29 23:41:18 +0300 |
| commit | 71167b7982be4d7a9090aa6b0e0846d5e9bf303b (patch) | |
| tree | 11ea737614a2ec9fc5bff73ec3ae9942a797008d /src/corelib/kernel/qtimer.cpp | |
| parent | e39eb34bc6585c5ec367727e86f70ce67c2d176a (diff) | |
QDirListing: make move SMFs noexcept and inline
This requires giving up unique_ptr for a raw d-pointer:
https://stackoverflow.com/questions/9417477/where-does-the-destructor-hide-in-this-code
That isn't much of an issue, because the class is move-only.
Also add a swap() member function.
Found in API review.
Pick-to: 6.8
Change-Id: I2478bb5d05ff7bae0111ba97e788c88f7b4dded1
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qtimer.cpp')
0 files changed, 0 insertions, 0 deletions
