diff options
author | LC <mathew1800@gmail.com> | 2020-12-07 06:06:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-07 06:06:53 +0100 |
commit | 69af6ada2f3fa7657964c6f6a95fbe24f9c1aa41 (patch) | |
tree | 9cc837fa8d085c5c483fd84239925870e44ba478 /src/common | |
parent | Merge pull request #5155 from comex/xx-default (diff) | |
parent | video_core: Resolve more variable shadowing scenarios pt.3 (diff) | |
download | yuzu-69af6ada2f3fa7657964c6f6a95fbe24f9c1aa41.tar yuzu-69af6ada2f3fa7657964c6f6a95fbe24f9c1aa41.tar.gz yuzu-69af6ada2f3fa7657964c6f6a95fbe24f9c1aa41.tar.bz2 yuzu-69af6ada2f3fa7657964c6f6a95fbe24f9c1aa41.tar.lz yuzu-69af6ada2f3fa7657964c6f6a95fbe24f9c1aa41.tar.xz yuzu-69af6ada2f3fa7657964c6f6a95fbe24f9c1aa41.tar.zst yuzu-69af6ada2f3fa7657964c6f6a95fbe24f9c1aa41.zip |
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/scope_exit.h | 2 | ||||
-rw-r--r-- | src/common/telemetry.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/common/scope_exit.h b/src/common/scope_exit.h index 68ef5f197..fa46cb394 100644 --- a/src/common/scope_exit.h +++ b/src/common/scope_exit.h @@ -10,7 +10,7 @@ namespace detail { template <typename Func> struct ScopeExitHelper { - explicit ScopeExitHelper(Func&& func) : func(std::move(func)) {} + explicit ScopeExitHelper(Func&& func_) : func(std::move(func_)) {} ~ScopeExitHelper() { if (active) { func(); diff --git a/src/common/telemetry.h b/src/common/telemetry.h index a50c5d1de..49186e848 100644 --- a/src/common/telemetry.h +++ b/src/common/telemetry.h @@ -52,8 +52,8 @@ public: template <typename T> class Field : public FieldInterface { public: - Field(FieldType type, std::string name, T value) - : name(std::move(name)), type(type), value(std::move(value)) {} + Field(FieldType type_, std::string name_, T value_) + : name(std::move(name_)), type(type_), value(std::move(value_)) {} Field(const Field&) = default; Field& operator=(const Field&) = default; |