diff options
author | vegayours <vegayours@yandex-team.ru> | 2022-02-10 16:50:31 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:31 +0300 |
commit | b9b7aa7f3855cbc4d6cd032a89adbc25e680a4df (patch) | |
tree | 84d4a0f0857da118debdb9684b64ab00acb42206 /library/cpp/xml/document/xml-document.cpp | |
parent | b1683877992937b1040baa621c4b216ed8405729 (diff) | |
download | ydb-b9b7aa7f3855cbc4d6cd032a89adbc25e680a4df.tar.gz |
Restoring authorship annotation for <vegayours@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/xml/document/xml-document.cpp')
-rw-r--r-- | library/cpp/xml/document/xml-document.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/xml/document/xml-document.cpp b/library/cpp/xml/document/xml-document.cpp index 18a554d732..74e20acd8f 100644 --- a/library/cpp/xml/document/xml-document.cpp +++ b/library/cpp/xml/document/xml-document.cpp @@ -300,12 +300,12 @@ namespace NXml { return NodePointer->type == XML_TEXT_NODE; } - void TNode::Remove() { - xmlNode* nodePtr = GetPtr(); - xmlUnlinkNode(nodePtr); - xmlFreeNode(nodePtr); - } - + void TNode::Remove() { + xmlNode* nodePtr = GetPtr(); + xmlUnlinkNode(nodePtr); + xmlFreeNode(nodePtr); + } + static int XmlWriteToOstream(void* context, const char* buffer, int len) { // possibly use to save doc as well IOutputStream* out = (IOutputStream*)context; |