commit | 6c669943b3e5ddb36b3d75b7f17450d271e634ce | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue Jan 25 16:14:21 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue Jan 25 16:14:21 2011 +0000 |
tree | e6d055c05cc9b12894ca7bbd816f03ebb303444c | |
parent | f9e1c7e3674284efe4fea3be799e83d72aa92dfe [diff] |
An rvalue reference cannot bind to an lvalue, so static_cast the result of the __tuple_leaf::get() call to an rvalue reference when returning from tuple's get(). git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@124190 91177308-0d34-0410-b5e6-96231b3b80d8