diff options
author | Howard Hinnant <hhinnant@apple.com> | 2013-09-12 04:10:44 +0400 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2013-09-12 04:10:44 +0400 |
commit | 872ac4b5f0610fac84aeb1e1925fcf4c0cebf991 (patch) | |
tree | d27af58567131e6a250842aa53dd5de41db19a4e /libcxx/include/map | |
parent | f574c27769463e6962d6c19c9f233339040e9195 (diff) |
A collection of minor type-o fixes. The first two aren't testable, but all tests pass with them. I stumbled across them while experimenting with a std::move that checks its argument for non-const. The third corrects a test that is currently failing.
llvm-svn: 190563
Diffstat (limited to 'libcxx/include/map')
-rw-r--r-- | libcxx/include/map | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/map b/libcxx/include/map index c78231d0c002..82a0a9c9a045 100644 --- a/libcxx/include/map +++ b/libcxx/include/map @@ -753,7 +753,7 @@ private: : __cc(std::forward<_Args>(__args)...) {} __value_type(const __value_type& __v) - : __cc(std::move(__v.__cc)) {} + : __cc(__v.__cc) {} __value_type(__value_type&& __v) : __nc(std::move(__v.__nc)) {} |