Donated anonymously: This enables GCC 4.8.0 to build libc++.

llvm-svn: 173060
This commit is contained in:
Howard Hinnant 2013-01-21 17:26:55 +00:00
parent c8a992f727
commit 8d3e797444
2 changed files with 2 additions and 2 deletions

View File

@ -1088,7 +1088,7 @@ class _LIBCPP_VISIBLE function<_Rp(_ArgTypes...)>
public __function::__maybe_derive_from_binary_function<_Rp(_ArgTypes...)>
{
typedef __function::__base<_Rp(_ArgTypes...)> __base;
aligned_storage<3*sizeof(void*)>::type __buf_;
typename aligned_storage<3*sizeof(void*)>::type __buf_;
__base* __f_;
template <class _Fp>

View File

@ -1757,7 +1757,7 @@ template<class _Rp, class ..._ArgTypes>
class __packaged_task_function<_Rp(_ArgTypes...)>
{
typedef __packaged_task_base<_Rp(_ArgTypes...)> __base;
aligned_storage<3*sizeof(void*)>::type __buf_;
typename aligned_storage<3*sizeof(void*)>::type __buf_;
__base* __f_;
public: