diff options
Diffstat (limited to 'gcc-4.9/libstdc++-v3/include/bits/shared_ptr_base.h')
-rw-r--r-- | gcc-4.9/libstdc++-v3/include/bits/shared_ptr_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc-4.9/libstdc++-v3/include/bits/shared_ptr_base.h b/gcc-4.9/libstdc++-v3/include/bits/shared_ptr_base.h index 536df017d..026c5979f 100644 --- a/gcc-4.9/libstdc++-v3/include/bits/shared_ptr_base.h +++ b/gcc-4.9/libstdc++-v3/include/bits/shared_ptr_base.h @@ -871,7 +871,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION : _M_ptr(__p), _M_refcount(__p) { __glibcxx_function_requires(_ConvertibleConcept<_Tp1*, _Tp*>) - static_assert( !is_void<_Tp>::value, "incomplete type" ); + static_assert( !is_void<_Tp1>::value, "incomplete type" ); static_assert( sizeof(_Tp1) > 0, "incomplete type" ); __enable_shared_from_this_helper(_M_refcount, __p, __p); } |