aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/backtrace.h
diff options
context:
space:
mode:
authoreeight <eeight@yandex-team.ru>2022-02-10 16:46:19 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:19 +0300
commitbd085aee9b4f7a0bee302ce687964ffb7098f986 (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/system/backtrace.h
parent475c0a46f28166e83fd263badc7546377cddcabe (diff)
downloadydb-bd085aee9b4f7a0bee302ce687964ffb7098f986.tar.gz
Restoring authorship annotation for <eeight@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/backtrace.h')
-rw-r--r--util/system/backtrace.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/system/backtrace.h b/util/system/backtrace.h
index 4271597f57..2fce7585c3 100644
--- a/util/system/backtrace.h
+++ b/util/system/backtrace.h
@@ -18,7 +18,7 @@ void FormatBackTrace(IOutputStream* out, void* const* backtrace, size_t backtrac
void FormatBackTrace(IOutputStream* out);
void PrintBackTrace();
-using TFormatBackTraceFn = void (*)(IOutputStream*, void* const* backtrace, size_t backtraceSize);
+using TFormatBackTraceFn = void (*)(IOutputStream*, void* const* backtrace, size_t backtraceSize);
TFormatBackTraceFn SetFormatBackTraceFn(TFormatBackTraceFn f);
TFormatBackTraceFn GetFormatBackTraceFn();
@@ -27,7 +27,7 @@ using TBackTraceView = TArrayRef<void* const>;
class TBackTrace {
private:
- static constexpr size_t CAPACITY = 300;
+ static constexpr size_t CAPACITY = 300;
void* Data[CAPACITY];
size_t Size;
@@ -39,6 +39,6 @@ public:
size_t size() const;
const void* const* data() const;
operator TBackTraceView() const;
-
- static TBackTrace FromCurrentException();
+
+ static TBackTrace FromCurrentException();
};