commit | 2a3f1bc13f4d835ddfca9f8c0f536fd36d2cdb76 | [log] [tgz] |
---|---|---|
author | Howard Hinnant <hhinnant@apple.com> | Tue Jan 25 16:31:30 2011 +0000 |
committer | Howard Hinnant <hhinnant@apple.com> | Tue Jan 25 16:31:30 2011 +0000 |
tree | c714804a08521b73a88a09f6f73d68ac7dcb5e62 | |
parent | 672a4a297e1720f5d9dfe734a6e5629fb91570d6 [diff] [blame] |
tweak for readability (no functionality change) llvm-svn: 124192
diff --git a/libcxx/include/tuple b/libcxx/include/tuple index 3f67ff8..63ce4cc 100644 --- a/libcxx/include/tuple +++ b/libcxx/include/tuple
@@ -589,7 +589,7 @@ get(tuple<_Tp...>&& __t) { typedef typename tuple_element<_Ip, tuple<_Tp...> >::type type; - return static_cast<typename tuple_element<_Ip, tuple<_Tp...> >::type&&>( + return static_cast<type&&>( static_cast<__tuple_leaf<_Ip, type>&&>(__t.base_).get()); }