Remove redundant move (#8778)

This commit is contained in:
Michał Janiszewski 2019-02-26 06:41:01 +01:00 committed by GitHub
parent facb95da73
commit b957ad5e9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ public:
log_warning("Invalid request for ride %u", rideIndex);
res->Error = GA_ERROR::UNKNOWN;
res->ErrorMessage = STR_UNKNOWN_OBJECT_TYPE;
return std::move(res);
return res;
}
ride->id = rideIndex;
@ -308,6 +308,6 @@ public:
res->ExpenditureType = RCT_EXPENDITURE_TYPE_RIDE_CONSTRUCTION;
return std::move(res);
return res;
}
};