diff --git a/src/corelib/tools/qcache.h b/src/corelib/tools/qcache.h index 32d822e8922..9ec99c56364 100644 --- a/src/corelib/tools/qcache.h +++ b/src/corelib/tools/qcache.h @@ -109,23 +109,6 @@ class QCache { value = Value(o, cost); } - static Node create(const Key &k, Value &&t) noexcept(std::is_nothrow_move_assignable_v && std::is_nothrow_move_assignable_v) - { - return Node(k, std::move(t)); - } - void replace(const Value &t) noexcept(std::is_nothrow_assignable_v) - { - value = t; - } - void replace(Value &&t) noexcept(std::is_nothrow_move_assignable_v) - { - value = std::move(t); - } - Value takeValue() noexcept(std::is_nothrow_move_constructible_v) - { - return std::move(value); - } - bool valuesEqual(const Node *other) const { return value == other->value; } Node(Node &&other) : Chain(other),