aboutsummaryrefslogtreecommitdiff
path: root/src/client/mapblock_mesh.cpp
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2022-07-30 12:51:23 +0100
committerGitHub <noreply@github.com>2022-07-30 12:51:23 +0100
commita8711158896d993e23d823f41ab086c3915c7d4e (patch)
tree4883ab0310ec344883b8042dea3195cd73717c2e /src/client/mapblock_mesh.cpp
parent6a269d58ef28be6428a5fb62c0eb966fc1ff5883 (diff)
downloadminetest-a8711158896d993e23d823f41ab086c3915c7d4e.tar.gz
minetest-a8711158896d993e23d823f41ab086c3915c7d4e.tar.bz2
minetest-a8711158896d993e23d823f41ab086c3915c7d4e.zip
Fix some warnings (#12615)
Diffstat (limited to 'src/client/mapblock_mesh.cpp')
-rw-r--r--src/client/mapblock_mesh.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/mapblock_mesh.cpp b/src/client/mapblock_mesh.cpp
index d8a8c25eb..c730b9bf9 100644
--- a/src/client/mapblock_mesh.cpp
+++ b/src/client/mapblock_mesh.cpp
@@ -1174,7 +1174,7 @@ void PartialMeshBuffer::beforeDraw() const
void PartialMeshBuffer::afterDraw() const
{
// Take the data back
- m_vertex_indexes = std::move(m_buffer->Indices.steal());
+ m_vertex_indexes = m_buffer->Indices.steal();
}
/*