diff options
author | Howard Hinnant <hhinnant@apple.com> | 2011-01-25 16:31:30 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2011-01-25 16:31:30 +0000 |
commit | 2a3f1bc13f4d835ddfca9f8c0f536fd36d2cdb76 (patch) | |
tree | c714804a08521b73a88a09f6f73d68ac7dcb5e62 /libcxx | |
parent | 672a4a297e1720f5d9dfe734a6e5629fb91570d6 (diff) | |
download | bcm5719-llvm-2a3f1bc13f4d835ddfca9f8c0f536fd36d2cdb76.tar.gz bcm5719-llvm-2a3f1bc13f4d835ddfca9f8c0f536fd36d2cdb76.zip |
tweak for readability (no functionality change)
llvm-svn: 124192
Diffstat (limited to 'libcxx')
-rw-r--r-- | libcxx/include/tuple | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/tuple b/libcxx/include/tuple index 3f67ff8b72c..63ce4cc32a0 100644 --- a/libcxx/include/tuple +++ b/libcxx/include/tuple @@ -589,7 +589,7 @@ typename tuple_element<_Ip, tuple<_Tp...> >::type&& 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()); } |