summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-04-12 02:01:31 +0200
committerLioncash <mathew1800@gmail.com>2019-04-12 02:01:33 +0200
commitb569641098a9cb97f5b7f3d41b7e9ad0377f503f (patch)
tree0bc3dbc20471f4b001a893b7dd24504947899f8a /src
parentMerge pull request #2354 from lioncash/header (diff)
downloadyuzu-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')
-rw-r--r--src/common/scope_exit.h2
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