aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/xml/document/node-attr.h
diff options
context:
space:
mode:
authorkerzum <kerzum@yandex-team.ru>2022-02-10 16:49:33 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:33 +0300
commit47a7e7b29636bfb2deb1df5f92363b3c75229c95 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/xml/document/node-attr.h
parent9a7232babfd763ccfe827bc70e82e0f50cfd8276 (diff)
downloadydb-47a7e7b29636bfb2deb1df5f92363b3c75229c95.tar.gz
Restoring authorship annotation for <kerzum@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/xml/document/node-attr.h')
-rw-r--r--library/cpp/xml/document/node-attr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/xml/document/node-attr.h b/library/cpp/xml/document/node-attr.h
index 50641cac55..6e74403943 100644
--- a/library/cpp/xml/document/node-attr.h
+++ b/library/cpp/xml/document/node-attr.h
@@ -145,12 +145,12 @@ namespace NXml {
}
inline void TNode::DelAttr(TZtStringBuf name) {
- if (xmlUnsetProp(NodePointer, XMLCHAR(name.c_str())) < 0)
+ if (xmlUnsetProp(NodePointer, XMLCHAR(name.c_str())) < 0)
THROW(XmlException, "Can't delete node attribute <"
<< name
<< ">");
- }
-
+ }
+
template <class T>
typename std::enable_if<!std::is_convertible_v<T, TZtStringBuf>, TNode>::type
TNode::AddChild(TZtStringBuf name, const T& value) {