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:18 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:18 +0300
commit475c0a46f28166e83fd263badc7546377cddcabe (patch)
tree39c5a49b8aaad78fe390b6f1f2886bdbda40f3e7 /contrib/libs/poco/Foundation/include/Poco/Exception.h
parenta6e0145a095c7bb3770d6e07aee301de5c73f96e (diff)
downloadydb-475c0a46f28166e83fd263badc7546377cddcabe.tar.gz
Restoring authorship annotation for <eeight@yandex-team.ru>. Commit 1 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 b2ad47ce89..20d0ab5307 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(); \
} \