This commit is contained in:
nikitamikhaylov 2020-12-11 18:15:18 +03:00 committed by Nikita Mikhailov
parent 4bb52c062a
commit 0dafcc38a5
2 changed files with 2 additions and 8 deletions

2
contrib/poco vendored

@ -1 +1 @@
Subproject commit 08974cc024b2e748f5b1d45415396706b3521d0f
Subproject commit 2c32e17c7dfee1f8bf24227b697cdef5fddf0823

View File

@ -55,11 +55,6 @@ public:
extendedMessage(fmt::format(format, std::forward<Args>(args)...));
}
/// Note that base class has exactly the same, but not virtual function.
virtual std::string displayText() const {
return Poco::Exception::displayText();
}
void addMessage(const std::string& message)
{
extendedMessage(message);
@ -108,8 +103,7 @@ class ParsingException : public Exception
public:
using Exception::Exception;
/// In a good way we have to mark this function virtual in the base class Poco::Exception.
/// For now it is virtual only since Exception (above class) in the hierarchy.
/// We use additional field formatted_message_ to make this method const.
std::string displayText() const override {
try
{