mirror of
https://github.com/mcneel/opennurbs.git
synced 2026-03-16 22:36:01 +08:00
Sync changes from upstream repository
This commit is contained in:
@@ -3788,7 +3788,7 @@ void* ON_XMLNode::PropertyIterator::EVF(const wchar_t*, void*)
|
||||
// TODO: Somehow I managed to port the non-rc version of the root node.
|
||||
// TODO: We really need the rc version.
|
||||
|
||||
static const ON_wString sXMLRootNodeName(L"xml");
|
||||
static const wchar_t* xml_root_node_name(L"xml");
|
||||
|
||||
//class ON_XMLRootNodePrivate final // For future use.
|
||||
//{
|
||||
@@ -3796,14 +3796,14 @@ static const ON_wString sXMLRootNodeName(L"xml");
|
||||
|
||||
ON_XMLRootNode::ON_XMLRootNode()
|
||||
:
|
||||
ON_XMLNode(sXMLRootNodeName)
|
||||
ON_XMLNode(xml_root_node_name)
|
||||
{
|
||||
_private = nullptr; //new ON_XMLRootNodePrivate;
|
||||
}
|
||||
|
||||
ON_XMLRootNode::ON_XMLRootNode(const ON_XMLNode& src)
|
||||
:
|
||||
ON_XMLNode(sXMLRootNodeName)
|
||||
ON_XMLNode(xml_root_node_name)
|
||||
{
|
||||
_private = nullptr; //new ON_XMLRootNodePrivate;
|
||||
*this = src;
|
||||
@@ -3811,7 +3811,7 @@ ON_XMLRootNode::ON_XMLRootNode(const ON_XMLNode& src)
|
||||
|
||||
ON_XMLRootNode::ON_XMLRootNode(const ON_XMLRootNode& src)
|
||||
:
|
||||
ON_XMLNode(sXMLRootNodeName)
|
||||
ON_XMLNode(xml_root_node_name)
|
||||
{
|
||||
_private = nullptr; //new ON_XMLRootNodePrivate;
|
||||
*this = src;
|
||||
@@ -3913,7 +3913,7 @@ void ON_XMLRootNode::Clear(void)
|
||||
{
|
||||
ON_XMLNode::Clear();
|
||||
|
||||
SetTagName(sXMLRootNodeName);
|
||||
SetTagName(xml_root_node_name);
|
||||
}
|
||||
|
||||
// ON_XMLUserData -- Specializes ON_UserData for XML use.
|
||||
|
||||
Reference in New Issue
Block a user