From 23bfb9b3062c6b7ef60ff9b34322135ba97da207 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Thu, 28 Sep 2017 23:16:14 +0200 Subject: [PATCH] Remove superfluous move --- src/openrct2/actions/RideSetName.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2/actions/RideSetName.hpp b/src/openrct2/actions/RideSetName.hpp index 680e1300a0..bebad4fb20 100644 --- a/src/openrct2/actions/RideSetName.hpp +++ b/src/openrct2/actions/RideSetName.hpp @@ -105,7 +105,7 @@ public: res->Position.y = ride->overall_view.y * 32 + 16; res->Position.z = map_element_height(res->Position.x, res->Position.y); - return std::move(res); + return res; } };