aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/yexception.h
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:23 +0300
commit706b83ed7de5a473436620367af31fc0ceecde07 (patch)
tree103305d30dec77e8f6367753367f59b3cd68f9f1 /util/generic/yexception.h
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'util/generic/yexception.h')
-rw-r--r--util/generic/yexception.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/generic/yexception.h b/util/generic/yexception.h
index b0c604e8c4..10fa8c7c70 100644
--- a/util/generic/yexception.h
+++ b/util/generic/yexception.h
@@ -2,7 +2,7 @@
#include "bt_exception.h"
#include "strbuf.h"
-#include "string.h"
+#include "string.h"
#include "utility.h"
#include "va_args.h"
#include <utility>
@@ -46,8 +46,8 @@ namespace NPrivateException {
yexception& operator=(const yexception&) = default;
yexception& operator=(yexception&&) = default;
- const char* what() const noexcept override;
- virtual const TBackTrace* BackTrace() const noexcept;
+ const char* what() const noexcept override;
+ virtual const TBackTrace* BackTrace() const noexcept;
template <class T>
inline void Append(const T& t) {
@@ -154,7 +154,7 @@ namespace NPrivate {
void fputs(const std::exception& e, FILE* f = stderr);
-TString CurrentExceptionMessage();
+TString CurrentExceptionMessage();
/*
* A neat method that detects wrether stack unwinding is in progress.
@@ -169,7 +169,7 @@ TString CurrentExceptionMessage();
*
* DO NOT USE THIS METHOD IN DESTRUCTORS.
*/
-bool UncaughtException() noexcept;
+bool UncaughtException() noexcept;
std::string CurrentExceptionTypeName();