summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qdebug.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2024-07-10 17:25:43 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2024-07-19 22:16:51 +0200
commitebbf7b0fdf866190cd20e62d6b13c7c6808101da (patch)
treed0e3e3b310fe9bd189b7be4a349c23cf8f436d99 /src/corelib/io/qdebug.cpp
parent82254fa836a21b5ec450a4ec7635e72403dded18 (diff)
JNI: clean up move semantics for QJniArray
Explicitly define (compiler-implemented) copy and move SMF's for QJniArrayBase; we need to, as the destructor is declared, so without them the compiler will implicitly convert an array to a QJniObject and call that constructor. Constrain the constructors and assignment operator from a QJniArray of another type so that no narrowing conversion is allowed. Due to the implicit conversion to QJniObject, we have to explicitly delete the overload for narrowing conversions. Use the detector we have in qobjectdefs_impl.h for that. Make the detection helpers private, and add test coverage. Pick-to: 6.8 Change-Id: I1b2bb4435d52223567d20bb55ceb0d516e3b0b15 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib/io/qdebug.cpp')
0 files changed, 0 insertions, 0 deletions