aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/xml/document/xml-document.cpp
diff options
context:
space:
mode:
authorIlnur Khuziev <ilnur.khuziev@yandex.ru>2022-02-10 16:46:13 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:13 +0300
commit736dcd8ca259457a136f2f9f9168c44643914323 (patch)
treeddd46a036d68bfa83aa11b892f31243ea6b068a1 /library/cpp/xml/document/xml-document.cpp
parent9bf2fa2b060c9881d3135c2208c624a1dd546ecc (diff)
downloadydb-736dcd8ca259457a136f2f9f9168c44643914323.tar.gz
Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/xml/document/xml-document.cpp')
-rw-r--r--library/cpp/xml/document/xml-document.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/xml/document/xml-document.cpp b/library/cpp/xml/document/xml-document.cpp
index 18a554d732..c159c04d58 100644
--- a/library/cpp/xml/document/xml-document.cpp
+++ b/library/cpp/xml/document/xml-document.cpp
@@ -35,7 +35,7 @@ namespace NXml {
if (!node)
THROW(XmlException, "Can't create root node.");
xmlDocSetRootElement(doc.Get(), node.Get());
- Y_UNUSED(node.Release());
+ Y_UNUSED(node.Release());
Doc = std::move(doc);
} break;
default:
@@ -56,7 +56,7 @@ namespace NXml {
}
void TDocument::ParseFile(const TString& file) {
- if (!NFs::Exists(file))
+ if (!NFs::Exists(file))
THROW(XmlException, "File " << file << " doesn't exist");
TParserCtxtPtr pctx(xmlNewParserCtxt());