diff options
author | Cthulhu <cthulhu@yandex-team.ru> | 2022-02-10 16:47:44 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:44 +0300 |
commit | 6aced6c854653b75aab9808d5995be5fc4d9fa53 (patch) | |
tree | c0748b5dcbade83af788c0abfa89c0383d6b779c /util/system/backtrace.cpp | |
parent | bcb3e9d0eb2a8188a6a9fe0907a8949ce4881a4e (diff) | |
download | ydb-6aced6c854653b75aab9808d5995be5fc4d9fa53.tar.gz |
Restoring authorship annotation for Cthulhu <cthulhu@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/backtrace.cpp')
-rw-r--r-- | util/system/backtrace.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/system/backtrace.cpp b/util/system/backtrace.cpp index 854f107383..b77fe58fb1 100644 --- a/util/system/backtrace.cpp +++ b/util/system/backtrace.cpp @@ -245,12 +245,12 @@ void FormatBackTrace(IOutputStream* out, void* const* backtrace, size_t backtrac TFormatBackTraceFn FormatBackTraceFn = FormatBackTrace; -TFormatBackTraceFn SetFormatBackTraceFn(TFormatBackTraceFn f) { - TFormatBackTraceFn prevFn = FormatBackTraceFn; - FormatBackTraceFn = f; - return prevFn; -} - +TFormatBackTraceFn SetFormatBackTraceFn(TFormatBackTraceFn f) { + TFormatBackTraceFn prevFn = FormatBackTraceFn; + FormatBackTraceFn = f; + return prevFn; +} + void FormatBackTrace(IOutputStream* out) { void* array[300]; const size_t s = BackTrace(array, Y_ARRAY_SIZE(array)); |