Fixed bug in recently introduced bind move constructor
llvm-svn: 131484
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: 651fedb82c1fc719c3e66a885daa56552a684478
diff --git a/include/functional b/include/functional
index 391a5b6..d009d63 100644
--- a/include/functional
+++ b/include/functional
@@ -1706,7 +1706,7 @@
_LIBCPP_INLINE_VISIBILITY
__bind_r(__bind_r&& __b)
- : base(_STD::move(__b)) {}
+ : base(_STD::forward<base>(__b)) {}
template <class _G, class ..._BA>
_LIBCPP_INLINE_VISIBILITY