summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2011-05-16 16:19:01 +0000
committerHoward Hinnant <hhinnant@apple.com>2011-05-16 16:19:01 +0000
commit07de7bcaa0051efa1734a89031b804056c05a752 (patch)
tree3592e4d67ec018664baa14991c8b5767187b6b6a
parent15c34d48ba2737dfdfc3cca649366e22c83089ac (diff)
downloadbcm5719-llvm-07de7bcaa0051efa1734a89031b804056c05a752.tar.gz
bcm5719-llvm-07de7bcaa0051efa1734a89031b804056c05a752.zip
Supply missing move ctor in __bind_r, though this one will eventually be defaulted
llvm-svn: 131408
-rw-r--r--libcxx/include/functional4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/include/functional b/libcxx/include/functional
index 73c6c590066..391a5b60a76 100644
--- a/libcxx/include/functional
+++ b/libcxx/include/functional
@@ -1704,6 +1704,10 @@ class __bind_r
public:
typedef _R result_type;
+ _LIBCPP_INLINE_VISIBILITY
+ __bind_r(__bind_r&& __b)
+ : base(_STD::move(__b)) {}
+
template <class _G, class ..._BA>
_LIBCPP_INLINE_VISIBILITY
explicit __bind_r(_G&& __f, _BA&& ...__bound_args)
OpenPOWER on IntegriCloud