Make default constructors constexpr

This commit is contained in:
Peter Dimov committed 2017-06-18 02:43:20 +03:00
1 parent 2e469dd7f3
commit 0e78e219f5
7 files changed
+135 -8

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ public:
typedef typename boost::detail::sp_element< T >::type element_type;
weak_ptr() BOOST_SP_NOEXCEPT : px(0), pn()
BOOST_CONSTEXPR weak_ptr() BOOST_SP_NOEXCEPT : px(0), pn()
{
}