diff options
author | dobrokot <dobrokot@yandex-team.ru> | 2022-02-10 16:49:07 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:07 +0300 |
commit | 25d83bf841d8b3ce3886525078f1964ac3c293c5 (patch) | |
tree | bd52fa16c8dd727890b2ef9d87d1a402bd0d3a9a /library/cpp/xml/document/node-attr.h | |
parent | 1d2e8a8e9976488ea69a7e4763aa749244f82612 (diff) | |
download | ydb-25d83bf841d8b3ce3886525078f1964ac3c293c5.tar.gz |
Restoring authorship annotation for <dobrokot@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/xml/document/node-attr.h')
-rw-r--r-- | library/cpp/xml/document/node-attr.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/xml/document/node-attr.h b/library/cpp/xml/document/node-attr.h index 6e74403943..1d187573bb 100644 --- a/library/cpp/xml/document/node-attr.h +++ b/library/cpp/xml/document/node-attr.h @@ -1,12 +1,12 @@ #pragma once -#include "xml-document-decl.h" +#include "xml-document-decl.h" #include "libxml-guards.h" #include <util/stream/str.h> #include <util/string/cast.h> namespace NXml { -#define THROW(x, y) ythrow yexception() << #x << ": " << y +#define THROW(x, y) ythrow yexception() << #x << ": " << y // libxml defines unsigned char -> xmlChar, // and all functions use xmlChar. @@ -40,7 +40,7 @@ namespace NXml { } T t; - AttrInternal(value, t, name); + AttrInternal(value, t, name); return t; } @@ -52,7 +52,7 @@ namespace NXml { } T t; - AttrInternal(attr, t, name); + AttrInternal(attr, t, name); return t; } @@ -63,7 +63,7 @@ namespace NXml { THROW(AttributeNotFound, Path() << name); } - AttrInternal(attr, value, name); + AttrInternal(attr, value, name); } template <class T> @@ -73,7 +73,7 @@ namespace NXml { if (!attr) { value = defvalue; } else { - AttrInternal(attr, value, name); + AttrInternal(attr, value, name); } } @@ -85,7 +85,7 @@ namespace NXml { TCharPtr val(xmlNodeGetContent(NodePointer)); T t; - AttrInternal(val, t, this->Name()); + AttrInternal(val, t, this->Name()); return t; } @@ -97,7 +97,7 @@ namespace NXml { TCharPtr val(xmlNodeGetContent(NodePointer)); T t; - AttrInternal(val, t, this->Name()); + AttrInternal(val, t, this->Name()); return t; } |