diff options
author | Dheerendra Purohit <[email protected]> | 2025-06-06 16:47:02 +0530 |
---|---|---|
committer | Dheerendra Purohit <[email protected]> | 2025-06-08 16:56:07 +0000 |
commit | b52c0dafd826d8bf1b769484260e0ca387d10929 (patch) | |
tree | f6ad8074ac451804d2e2b2690170b808c07265f5 /examples/corelib/tools | |
parent | 045eb2179ca57d6838218b0c77ed93743f985764 (diff) |
Replaced the manually defined copy constructor with = default to
improve clarity and maintainability.Added a default copy assignment
operator to ensure consistency,as copy constructor and copy
assignment should be defined as a pair.Also included defaulted move
constructor and move assignment operator in accordance with the rule
of 6,ensuring the example is modern,complete,and suitable for
educational purposes.
Fixes: QTBUG-111392
Change-Id: Ia7cfccfc46182d8d9102868fc93dc0ebd9649a32
Reviewed-by: Axel Spoerl <[email protected]>
Diffstat (limited to 'examples/corelib/tools')
0 files changed, 0 insertions, 0 deletions