aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/poco/Foundation/include/Poco/Exception.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 /contrib/libs/poco/Foundation/include/Poco/Exception.h
parent475c0a46f28166e83fd263badc7546377cddcabe (diff)
downloadydb-bd085aee9b4f7a0bee302ce687964ffb7098f986.tar.gz
Restoring authorship annotation for <eeight@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/poco/Foundation/include/Poco/Exception.h')
-rw-r--r--contrib/libs/poco/Foundation/include/Poco/Exception.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/contrib/libs/poco/Foundation/include/Poco/Exception.h b/contrib/libs/poco/Foundation/include/Poco/Exception.h
index 20d0ab5307..b2ad47ce89 100644
--- a/contrib/libs/poco/Foundation/include/Poco/Exception.h
+++ b/contrib/libs/poco/Foundation/include/Poco/Exception.h
@@ -49,13 +49,13 @@ public:
Exception& operator = (const Exception& exc);
/// Assignment operator.
- virtual const char* name() const noexcept;
+ virtual const char* name() const noexcept;
/// Returns a static string describing the exception.
- virtual const char* className() const noexcept;
+ virtual const char* className() const noexcept;
/// Returns the name of the exception class.
- virtual const char* what() const noexcept;
+ virtual const char* what() const noexcept;
/// Returns a static string describing the exception.
///
/// Same as name(), but for compatibility with std::exception.
@@ -148,8 +148,8 @@ inline int Exception::code() const
CLS(const CLS& exc); \
~CLS() noexcept; \
CLS& operator = (const CLS& exc); \
- const char* name() const noexcept; \
- const char* className() const noexcept; \
+ const char* name() const noexcept; \
+ const char* className() const noexcept; \
Poco::Exception* clone() const; \
void rethrow() const; \
};
@@ -181,11 +181,11 @@ inline int Exception::code() const
BASE::operator = (exc); \
return *this; \
} \
- const char* CLS::name() const noexcept \
+ const char* CLS::name() const noexcept \
{ \
return NAME; \
} \
- const char* CLS::className() const noexcept \
+ const char* CLS::className() const noexcept \
{ \
return typeid(*this).name(); \
} \