summaryrefslogtreecommitdiffstats
path: root/libcxx/include/thread
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2013-04-03 20:29:45 +0000
committerHoward Hinnant <hhinnant@apple.com>2013-04-03 20:29:45 +0000
commitea48b6dcd0a65d22e2bd05be6e3e99a9a12f8809 (patch)
treed9ebec28cc3abb79ffc958b293ea7f51940516b2 /libcxx/include/thread
parent1347d334518a3642243e97c7d173452443047e2f (diff)
downloadbcm5719-llvm-ea48b6dcd0a65d22e2bd05be6e3e99a9a12f8809.tar.gz
bcm5719-llvm-ea48b6dcd0a65d22e2bd05be6e3e99a9a12f8809.zip
Fix stupid but harmless type-o. Fixes http://llvm.org/bugs/show_bug.cgi?id=15657.
llvm-svn: 178691
Diffstat (limited to 'libcxx/include/thread')
-rw-r--r--libcxx/include/thread4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/thread b/libcxx/include/thread
index 8d3aab2ae6f..f41ea290205 100644
--- a/libcxx/include/thread
+++ b/libcxx/include/thread
@@ -328,7 +328,7 @@ __thread_specific_ptr<__thread_struct>& __thread_local_data();
template <class _Fp, class ..._Args, size_t ..._Indices>
inline _LIBCPP_INLINE_VISIBILITY
void
-__threaad_execute(tuple<_Fp, _Args...>& __t, __tuple_indices<_Indices...>)
+__thread_execute(tuple<_Fp, _Args...>& __t, __tuple_indices<_Indices...>)
{
__invoke(_VSTD::move(_VSTD::get<0>(__t)), _VSTD::move(_VSTD::get<_Indices>(__t))...);
}
@@ -340,7 +340,7 @@ __thread_proxy(void* __vp)
__thread_local_data().reset(new __thread_struct);
std::unique_ptr<_Fp> __p(static_cast<_Fp*>(__vp));
typedef typename __make_tuple_indices<tuple_size<_Fp>::value, 1>::type _Index;
- __threaad_execute(*__p, _Index());
+ __thread_execute(*__p, _Index());
return nullptr;
}
OpenPOWER on IntegriCloud