fix: remove nullptr

This commit is contained in:
Tuan Anh Tran 2019-09-17 10:18:30 +07:00
parent cacadd3259
commit da99f38681

View File

@ -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;
}