--- 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; } } : lo/core
LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno/unoatxt.cxx
AgeCommit message (Expand)Author
2024-06-05loplugin:ostr in sw/.../unoNoel Grandin
2023-12-10cid#1545789 COPY_INSTEAD_OF_MOVECaolán McNamara
2023-10-22Use getXWeak in swMike Kaganski
2023-10-06Related: cool#7373 add an SfxHintId::ThisIsAnSfxEventHintCaolán McNamara