mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-07-31 21:24:40 +02:00
Fix sp_nullptr_test for compilers that don't define std::nullptr_t.
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
//
|
||||
|
||||
#include <boost/shared_ptr.hpp>
|
||||
#include <boost/smart_ptr/detail/sp_nullptr_t.hpp>
|
||||
#include <boost/detail/lightweight_test.hpp>
|
||||
#include <cstddef>
|
||||
#include <memory>
|
||||
@@ -37,7 +38,7 @@ private:
|
||||
|
||||
int X::instances = 0;
|
||||
|
||||
void f( std::nullptr_t )
|
||||
void f( boost::detail::sp_nullptr_t )
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user