replace null_ptr<>() with nullptr
[libcds.git] / cds / urcu / details / sig_buffered.h
index 4aa89f892ab0e9b8c9e46e6610eb47602b95463a..81f8801350bb70f58f5904de872520873b46ecf4 100644 (file)
@@ -87,7 +87,7 @@ namespace cds { namespace urcu {
         /// Checks if the singleton is created and ready to use
         static bool isUsed()
         {
-            return singleton_ptr::s_pRCU != null_ptr<singleton_vtbl *>();
+            return singleton_ptr::s_pRCU != nullptr;
         }
 
     protected:
@@ -151,7 +151,7 @@ namespace cds { namespace urcu {
                 if ( bDetachAll )
                     instance()->m_ThreadList.detach_all();
                 delete instance();
-                singleton_ptr::s_pRCU = null_ptr<singleton_vtbl *>();
+                singleton_ptr::s_pRCU = nullptr;
             }
         }