diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2025-06-25 16:08:11 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2025-06-26 06:16:31 +0200 |
| commit | 7d5f447124e1c82a611488a3313dfcae7ff01a28 (patch) | |
| tree | 8b1ffa0cc303d1496fcf3eb2661612b31bb753e4 /src/corelib/serialization/qjsonarray.cpp | |
| parent | 40b13755c414d9eb8abeeabbe44f88e24932af28 (diff) | |
QLockFile: make d_ptr private
The original author of the class doesn't remember why it's protected,
and there appear to be no meaningful uses for a protected d_ptr
(unlike in the QObject case). The class is also not designed as a
base class (the destructor is public and non-virtual), and we never
advertized the protectedness of the d_ptr, so treat this as \internal
API and just make it private.
[ChangeLog][Potentially Source-Incompatible Changes][QtCore] The
protected QLockFile::d_ptr variable is now private. The class isn't
safe for subclassing, anyway (doesn't have a virtual destructor), so
if your code depends on this, you need to find a different design.
Change-Id: Idba36fd65f4c1327f31ee6c27320a0697147de5f
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/corelib/serialization/qjsonarray.cpp')
0 files changed, 0 insertions, 0 deletions
