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/scope_exit.h | |
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/scope_exit.h')
-rw-r--r-- | src/common/scope_exit.h | 2 |
1 files changed, 1 insertions, 1 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(); |