diff options
author | Vlad Yaroslavlev <vladon@vladon.com> | 2022-02-10 16:46:25 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:25 +0300 |
commit | 344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/xml/init | |
parent | 706b83ed7de5a473436620367af31fc0ceecde07 (diff) | |
download | ydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz |
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/xml/init')
-rw-r--r-- | library/cpp/xml/init/init.cpp | 2 | ||||
-rw-r--r-- | library/cpp/xml/init/ptr.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/xml/init/init.cpp b/library/cpp/xml/init/init.cpp index a399211393..aa96c2dd31 100644 --- a/library/cpp/xml/init/init.cpp +++ b/library/cpp/xml/init/init.cpp @@ -28,7 +28,7 @@ namespace { xmlNewCharEncodingHandler("windows-1251", CharEncodingInput, nullptr); } - inline ~TLibXml2() { + inline ~TLibXml2() { xmlCleanupParser(); } }; diff --git a/library/cpp/xml/init/ptr.h b/library/cpp/xml/init/ptr.h index 6fc431787a..7387c7cc40 100644 --- a/library/cpp/xml/init/ptr.h +++ b/library/cpp/xml/init/ptr.h @@ -11,7 +11,7 @@ template <class T, void (*DestroyFun)(T*)> struct TFunctionDestroy { - static inline void Destroy(T* t) noexcept { + static inline void Destroy(T* t) noexcept { if (t) DestroyFun(t); } |