yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

Remove superfluous std::move in return std::move(local_var)

This commit is contained in:
scurest 2016-06-25 13:26:21 -05:00
parent 0433e6cf0b
commit 0f9274fe24
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ Entry CreateEntry(Class log_class, Level log_level,
vsnprintf(formatting_buffer.data(), formatting_buffer.size(), format, args);
entry.message = std::string(formatting_buffer.data());
return std::move(entry);
return entry;
}
static Filter* filter = nullptr;

View File

@ -328,7 +328,7 @@ std::unique_ptr<PicaTrace> FinishPicaTracing()
std::lock_guard<std::mutex> lock(pica_trace_mutex);
std::unique_ptr<PicaTrace> ret(std::move(pica_trace));
return std::move(ret);
return ret;
}
const Math::Vec4<u8> LookupTexture(const u8* source, int x, int y, const TextureInfo& info, bool disable_alpha) {