diff options
author | thegeorg <thegeorg@yandex-team.ru> | 2022-02-10 16:45:12 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:12 +0300 |
commit | 49116032d905455a7b1c994e4a696afc885c1e71 (patch) | |
tree | be835aa92c6248212e705f25388ebafcf84bc7a1 /util/system/demangle_impl.h | |
parent | 4e839db24a3bbc9f1c610c43d6faaaa99824dcca (diff) | |
download | ydb-49116032d905455a7b1c994e4a696afc885c1e71.tar.gz |
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/demangle_impl.h')
-rw-r--r-- | util/system/demangle_impl.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/util/system/demangle_impl.h b/util/system/demangle_impl.h index dffe4c8e2e..081004f976 100644 --- a/util/system/demangle_impl.h +++ b/util/system/demangle_impl.h @@ -1,21 +1,21 @@ -#pragma once - -#include <util/generic/ptr.h> -#include <util/generic/string.h> - -namespace NPrivate { - - /* - * cxxabi::__cxa_demangle (and thus TCppDemanger) have terrible memory ownership model. - * - * Consider using CppDemangle instead. It is slow, but robust. - */ - class TCppDemangler { - public: - const char* Demangle(const char* name); - - private: - THolder<char, TFree> TmpBuf_; - }; - -} //namespace NPrivate +#pragma once + +#include <util/generic/ptr.h> +#include <util/generic/string.h> + +namespace NPrivate { + + /* + * cxxabi::__cxa_demangle (and thus TCppDemanger) have terrible memory ownership model. + * + * Consider using CppDemangle instead. It is slow, but robust. + */ + class TCppDemangler { + public: + const char* Demangle(const char* name); + + private: + THolder<char, TFree> TmpBuf_; + }; + +} //namespace NPrivate |