--- misc/boost_1_44_0/boost/smart_ptr/make_shared.hpp +++ misc/build/boost_1_44_0/boost/smart_ptr/make_shared.hpp @@ -49,7 +49,18 @@ { if( initialized_ ) { +#if defined( __GNUC__ ) + + // fixes incorrect aliasing warning + T * p = reinterpret_cast< T* >( storage_.data_ ); + p->~T(); + +#else + reinterpret_cast< T* >( storage_.data_ )->~T(); + +#endif + initialized_ = false; } } index : lo/core
LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/appopen.cxx
AgeCommit message (Expand)Author
2021-10-31pass an explicit parent to use for any warning dialogsCaolán McNamara
2021-10-31Prepare for removal of non-const operator[] from Sequence in sfx2Mike Kaganski