mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-18 15:20:05 +00:00
Merge pull request #1930 from scurest/superfluous-moves
Remove superfluous std::move in return std::move(local_var)
This commit is contained in:
commit
9cde5cbbd3
@ -117,7 +117,7 @@ Entry CreateEntry(Class log_class, Level log_level,
|
|||||||
vsnprintf(formatting_buffer.data(), formatting_buffer.size(), format, args);
|
vsnprintf(formatting_buffer.data(), formatting_buffer.size(), format, args);
|
||||||
entry.message = std::string(formatting_buffer.data());
|
entry.message = std::string(formatting_buffer.data());
|
||||||
|
|
||||||
return std::move(entry);
|
return entry;
|
||||||
}
|
}
|
||||||
|
|
||||||
static Filter* filter = nullptr;
|
static Filter* filter = nullptr;
|
||||||
|
@ -328,7 +328,7 @@ std::unique_ptr<PicaTrace> FinishPicaTracing()
|
|||||||
std::lock_guard<std::mutex> lock(pica_trace_mutex);
|
std::lock_guard<std::mutex> lock(pica_trace_mutex);
|
||||||
std::unique_ptr<PicaTrace> ret(std::move(pica_trace));
|
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) {
|
const Math::Vec4<u8> LookupTexture(const u8* source, int x, int y, const TextureInfo& info, bool disable_alpha) {
|
||||||
|
Loading…
Reference in New Issue
Block a user