diff options
author | Lioncash <mathew1800@gmail.com> | 2020-12-05 17:40:14 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-12-05 22:02:23 +0100 |
commit | f95602f15207851b849c57e2a2dd313a087b2493 (patch) | |
tree | ed6122ab0a30de177acb2a59dffc8109232870ec /src/common/scope_exit.h | |
parent | Merge pull request #5133 from lioncash/video-shadow2 (diff) | |
download | yuzu-f95602f15207851b849c57e2a2dd313a087b2493.tar yuzu-f95602f15207851b849c57e2a2dd313a087b2493.tar.gz yuzu-f95602f15207851b849c57e2a2dd313a087b2493.tar.bz2 yuzu-f95602f15207851b849c57e2a2dd313a087b2493.tar.lz yuzu-f95602f15207851b849c57e2a2dd313a087b2493.tar.xz yuzu-f95602f15207851b849c57e2a2dd313a087b2493.tar.zst yuzu-f95602f15207851b849c57e2a2dd313a087b2493.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(); |