diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2022-04-05 15:41:51 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2022-04-06 12:44:40 +0200 |
| commit | bf2bff543c20f46271152c8eeddc0050bb61c143 (patch) | |
| tree | eea02abb94decb98429472fce3d6be8d3bfa26c3 /src/corelib/io/qbuffer.cpp | |
| parent | a322af7df434a367d560a3cbdc0b53e314477056 (diff) | |
QMetaTypeModuleHelper: prevent slicing
Disable copy and move SMFs and make the dtor protected. This requires
to restore the default ctor, which in turn also becomes protected,
because it needn't be public.
Found by clazy-copyable-polymorphic.
Pick-to: 6.3
Change-Id: Ibde8202e755f6de05cd8f9e92cf0f9cf19b4e19b
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io/qbuffer.cpp')
0 files changed, 0 insertions, 0 deletions
