diff options
author | zhigan <zhigan@yandex-team.ru> | 2022-02-10 16:50:46 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:46 +0300 |
commit | ae8ad2a23bc3bb663e427a5fa0735002d50bdb2e (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/xml | |
parent | 8dada5409708843988a332937227a0c3127cf409 (diff) | |
download | ydb-ae8ad2a23bc3bb663e427a5fa0735002d50bdb2e.tar.gz |
Restoring authorship annotation for <zhigan@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/xml')
-rw-r--r-- | library/cpp/xml/document/xml-document-decl.h | 6 | ||||
-rw-r--r-- | library/cpp/xml/init/ptr.h | 8 | ||||
-rw-r--r-- | library/cpp/xml/ya.make | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/library/cpp/xml/document/xml-document-decl.h b/library/cpp/xml/document/xml-document-decl.h index 0312706abd..bfda1fb7e6 100644 --- a/library/cpp/xml/document/xml-document-decl.h +++ b/library/cpp/xml/document/xml-document-decl.h @@ -67,9 +67,9 @@ namespace NXml { } xmlDocPtr GetImpl() { - return Doc.Get(); - } - + return Doc.Get(); + } + private: void ParseFile(const TString& file); void ParseString(TZtStringBuf xml); diff --git a/library/cpp/xml/init/ptr.h b/library/cpp/xml/init/ptr.h index 28037d0190..7387c7cc40 100644 --- a/library/cpp/xml/init/ptr.h +++ b/library/cpp/xml/init/ptr.h @@ -7,7 +7,7 @@ #include <libxml/xpathInternals.h> #include <libxml/xmlsave.h> #include <libxml/uri.h> -#include <libxml/xmlschemas.h> +#include <libxml/xmlschemas.h> template <class T, void (*DestroyFun)(T*)> struct TFunctionDestroy { @@ -44,11 +44,11 @@ namespace NXml { // xmlSchemaPtr schema; DEF_HOLDER(xmlSchema, xmlSchemaFree); DEF_PTR(xmlSchema, xmlSchemaFree); - + // xmlSchemaValidCtxt ctxt; DEF_HOLDER(xmlSchemaValidCtxt, xmlSchemaFreeValidCtxt); DEF_PTR(xmlSchemaValidCtxt, xmlSchemaFreeValidCtxt); - + // xmlSaveCtxtPtr inline void xmlFreeSave(xmlSaveCtxt* c) { // returns int @@ -56,7 +56,7 @@ namespace NXml { } DEF_HOLDER(xmlSaveCtxt, xmlFreeSave); DEF_PTR(xmlSaveCtxt, xmlFreeSave); - + DEF_PTR(xmlURI, xmlFreeURI); DEF_PTR(xmlNode, xmlFreeNode); DEF_PTR(xmlParserCtxt, xmlFreeParserCtxt); diff --git a/library/cpp/xml/ya.make b/library/cpp/xml/ya.make index ea4ead8479..5a685b70e6 100644 --- a/library/cpp/xml/ya.make +++ b/library/cpp/xml/ya.make @@ -8,6 +8,6 @@ RECURSE( parslib/ut sax sax/ut - validator - validator/ut + validator + validator/ut ) |