From f2b76550169351edf3f4bd37998e9e03ff0d5f94 Mon Sep 17 00:00:00 2001 From: Paul Harris Date: Thu, 9 Jun 2022 20:54:12 +0800 Subject: [PATCH] Change del.p_=0 to del.p_=nullptr (#22) * Change del.p_=0 to del.p_=nullptr A simple change (I hope) that cleans up compiler warnings and errors. * Support older compilers * Update throw_exception.hpp * Update throw_exception.hpp --- include/boost/throw_exception.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/throw_exception.hpp b/include/boost/throw_exception.hpp index 77d806e..c50677a 100644 --- a/include/boost/throw_exception.hpp +++ b/include/boost/throw_exception.hpp @@ -116,7 +116,7 @@ public: boost::exception_detail::copy_boost_exception( p, this ); - del.p_ = 0; + del.p_ = BOOST_NULLPTR; return p; }