[libcxx] r178691 - Fix stupid but harmless type-o. Fixes http://llvm.org/bugs/show_bug.cgi?id=15657.

Howard Hinnant hhinnant at apple.com
Wed Apr 3 13:29:45 PDT 2013


Author: hhinnant
Date: Wed Apr  3 15:29:45 2013
New Revision: 178691

URL: http://llvm.org/viewvc/llvm-project?rev=178691&view=rev
Log:
Fix stupid but harmless type-o.  Fixes http://llvm.org/bugs/show_bug.cgi?id=15657.

Modified:
    libcxx/trunk/include/thread

Modified: libcxx/trunk/include/thread
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/thread?rev=178691&r1=178690&r2=178691&view=diff
==============================================================================
--- libcxx/trunk/include/thread (original)
+++ libcxx/trunk/include/thread Wed Apr  3 15:29:45 2013
@@ -328,7 +328,7 @@ __thread_specific_ptr<__thread_struct>&
 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;
 }
 





More information about the cfe-commits mailing list