From da99f386812de600fa2b2360dff7642525949cd7 Mon Sep 17 00:00:00 2001 From: Tuan Anh Tran Date: Tue, 17 Sep 2019 10:18:30 +0700 Subject: [PATCH] fix: remove nullptr --- src/pugixml.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pugixml.cpp b/src/pugixml.cpp index 8b344d3..7ca87e8 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -6071,7 +6071,7 @@ namespace pugi impl::destroy_attribute(attr, alloc); } - this->_root->first_attribute = nullptr; + this->_root->first_attribute = 0; return true; } @@ -6105,7 +6105,7 @@ namespace pugi impl::destroy_node(child, alloc); } - this->_root->first_child = nullptr; + this->_root->first_child = 0; return true; }