summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2016-06-25 21:56:26 +0200
committerGitHub <noreply@github.com>2016-06-25 21:56:26 +0200
commit9cde5cbbd39d612601df85d8792eea48c96bdc3e (patch)
tree7fb68a81a0742e1beb59baeda3f60ffc3ef87f78 /src
parentMerge pull request #1926 from JayFoxRox/gpl (diff)
parentRemove superfluous std::move in return std::move(local_var) (diff)
downloadyuzu-9cde5cbbd39d612601df85d8792eea48c96bdc3e.tar
yuzu-9cde5cbbd39d612601df85d8792eea48c96bdc3e.tar.gz
yuzu-9cde5cbbd39d612601df85d8792eea48c96bdc3e.tar.bz2
yuzu-9cde5cbbd39d612601df85d8792eea48c96bdc3e.tar.lz
yuzu-9cde5cbbd39d612601df85d8792eea48c96bdc3e.tar.xz
yuzu-9cde5cbbd39d612601df85d8792eea48c96bdc3e.tar.zst
yuzu-9cde5cbbd39d612601df85d8792eea48c96bdc3e.zip
Diffstat (limited to 'src')
-rw-r--r--src/common/logging/backend.cpp2
-rw-r--r--src/video_core/debug_utils/debug_utils.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp
index d7008fc66..0b2fabec9 100644
--- a/src/common/logging/backend.cpp
+++ b/src/common/logging/backend.cpp
@@ -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;
diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp
index 871368323..bfa686380 100644
--- a/src/video_core/debug_utils/debug_utils.cpp
+++ b/src/video_core/debug_utils/debug_utils.cpp
@@ -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) {