diff options
author | Lioncash <mathew1800@gmail.com> | 2019-04-12 02:01:31 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-04-12 02:01:33 +0200 |
commit | b569641098a9cb97f5b7f3d41b7e9ad0377f503f (patch) | |
tree | 0bc3dbc20471f4b001a893b7dd24504947899f8a /src/common | |
parent | Merge pull request #2354 from lioncash/header (diff) | |
download | yuzu-b569641098a9cb97f5b7f3d41b7e9ad0377f503f.tar yuzu-b569641098a9cb97f5b7f3d41b7e9ad0377f503f.tar.gz yuzu-b569641098a9cb97f5b7f3d41b7e9ad0377f503f.tar.bz2 yuzu-b569641098a9cb97f5b7f3d41b7e9ad0377f503f.tar.lz yuzu-b569641098a9cb97f5b7f3d41b7e9ad0377f503f.tar.xz yuzu-b569641098a9cb97f5b7f3d41b7e9ad0377f503f.tar.zst yuzu-b569641098a9cb97f5b7f3d41b7e9ad0377f503f.zip |
Diffstat (limited to 'src/common')
-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 baf1f1c9e..1176a72b1 100644 --- a/src/common/scope_exit.h +++ b/src/common/scope_exit.h @@ -20,7 +20,7 @@ struct ScopeExitHelper { template <typename Func> ScopeExitHelper<Func> ScopeExit(Func&& func) { - return ScopeExitHelper<Func>(std::move(func)); + return ScopeExitHelper<Func>(std::forward<Func>(func)); } } // namespace detail |