PR libstdc++/58912
* include/bits/shared_ptr_base.h (_Sp_counted_ptr_inplace): Remove
unnecessary initialization of storage buffer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@204222
138bc75d-0d04-0410-961f-
82ee72b054a4
+2013-10-30 Chris Studholme <cvs@cs.utoronto.ca>
+
+ PR libstdc++/58912
+ * include/bits/shared_ptr_base.h (_Sp_counted_ptr_inplace): Remove
+ unnecessary initialization of storage buffer.
+
2013-10-20 Chris Jefferson <chris@bubblescope.net>
Paolo Carlini <paolo.carlini@oracle.com>
public:
template<typename... _Args>
_Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
- : _M_impl(__a), _M_storage()
+ : _M_impl(__a)
{
_M_impl._M_ptr = static_cast<_Tp*>(static_cast<void*>(&_M_storage));
// _GLIBCXX_RESOLVE_LIB_DEFECTS