summaryrefslogtreecommitdiffstats
path: root/libcxx
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/include/functional4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/functional b/libcxx/include/functional
index 3205ee36f49..8e508f9d90d 100644
--- a/libcxx/include/functional
+++ b/libcxx/include/functional
@@ -1683,7 +1683,7 @@ public:
{
// compiler bug workaround
return __apply_functor(__f_, __bound_args_, __indices(),
- tuple<_Args&&...>(__args...));
+ tuple<_Args&&...>(_STD::forward<_Args>(__args)...));
}
template <class ..._Args>
@@ -1692,7 +1692,7 @@ public:
operator()(_Args&& ...__args) const
{
return __apply_functor(__f_, __bound_args_, __indices(),
- tuple<_Args&&...>(__args...));
+ tuple<_Args&&...>(_STD::forward<_Args>(__args)...));
}
};
OpenPOWER on IntegriCloud