QJniObject is a value type with move semantics, but didn't provide swap, so add it. Make it safe to check a moved-from QJniObject for validity, and to compare it with another QJniObject. As before, two invalid objects compare as equal. Change-Id: Ie08bb7c50da831f3e7e98e731e8ddbc0ebb3af78 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> (cherry picked from commit 3e0c21691dd2be6911c417f4cbfaf54d10b4d634) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> |
||
|---|---|---|
| .. | ||
| testdata/src/org/qtproject/qt/android/testdata | ||
| CMakeLists.txt | ||
| tst_qjniobject.cpp | ||