aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/smart_ptr/patches/supress-clang-analyzer-cplusplus.NewDelete.patch
blob: 083afc1cd8f4f244552d800b2ca2500483b3e598 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- a/include/boost/smart_ptr/detail/shared_count.hpp
+++ b/include/boost/smart_ptr/detail/shared_count.hpp
@@ -536,7 +536,7 @@ public:
 
     ~weak_count() /*noexcept*/
     {
-        if(pi_ != 0) pi_->weak_release();
+        if(pi_ != 0) pi_->weak_release(); // NOLINT
 #if defined(BOOST_SP_ENABLE_DEBUG_HOOKS)
         id_ = 0;
 #endif