From 970a179ac215ceedc8eed10f601ed33104cdb72f Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Mon, 5 Oct 2015 18:24:52 +0300 Subject: [PATCH] Make the default constructor constexpr --- include/boost/smart_ptr/intrusive_ptr.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/smart_ptr/intrusive_ptr.hpp b/include/boost/smart_ptr/intrusive_ptr.hpp index e5db609..58041da 100644 --- a/include/boost/smart_ptr/intrusive_ptr.hpp +++ b/include/boost/smart_ptr/intrusive_ptr.hpp @@ -59,7 +59,7 @@ public: typedef T element_type; - intrusive_ptr() BOOST_NOEXCEPT : px( 0 ) + BOOST_CONSTEXPR intrusive_ptr() BOOST_NOEXCEPT : px( 0 ) { }