diff --git a/src/corelib/tools/qhash.h b/src/corelib/tools/qhash.h index e1aaccb6bed..6ef39ac5188 100644 --- a/src/corelib/tools/qhash.h +++ b/src/corelib/tools/qhash.h @@ -173,7 +173,7 @@ struct MultiNode {} MultiNode(MultiNode &&other) - : key(other.key), + : key(std::move(other.key)), value(std::exchange(other.value, nullptr)) { }