[cfe-commits] [libcxx] r131484 - /libcxx/trunk/include/functional

Howard Hinnant hhinnant at apple.com
Tue May 17 13:27:51 PDT 2011


Author: hhinnant
Date: Tue May 17 15:27:51 2011
New Revision: 131484

URL: http://llvm.org/viewvc/llvm-project?rev=131484&view=rev
Log:
Fixed bug in recently introduced bind move constructor

Modified:
    libcxx/trunk/include/functional

Modified: libcxx/trunk/include/functional
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/functional?rev=131484&r1=131483&r2=131484&view=diff
==============================================================================
--- libcxx/trunk/include/functional (original)
+++ libcxx/trunk/include/functional Tue May 17 15:27:51 2011
@@ -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





More information about the cfe-commits mailing list