Переглянути джерело

Fixed bug in recently introduced bind move constructor

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@131484 91177308-0d34-0410-b5e6-96231b3b80d8
Howard Hinnant 14 роки тому
батько
коміт
6b9826b2dc
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      include/functional

+ 1 - 1
include/functional

@@ -1706,7 +1706,7 @@ public:
 
     _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