From 834c4bdd730df4318ef00a220bd56e4d978ed4e8 Mon Sep 17 00:00:00 2001 From: Alpyne Date: Tue, 4 Jul 2023 15:25:23 +0200 Subject: [PATCH] [d3d8] Remove unnecessary std::move --- src/d3d8/d3d8_texture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d3d8/d3d8_texture.h b/src/d3d8/d3d8_texture.h index ecd2db141aa..5659e2c8719 100644 --- a/src/d3d8/d3d8_texture.h +++ b/src/d3d8/d3d8_texture.h @@ -70,7 +70,7 @@ namespace dxvk { if (m_subresources[Index] == nullptr) { try { - Com subresource = std::move(LookupSubresource(Index)); + Com subresource = LookupSubresource(Index); // Cache the subresource m_subresources[Index] = new SubresourceType(this->m_parent, this, std::move(subresource));