Add override to virtual destructor of derived class

This commit is contained in:
Martin Hořeňovský 2021-05-12 23:23:02 +02:00
parent 5eb7aa4f90
commit d86cb5f95d
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -16,7 +16,7 @@ namespace Catch {
class ExceptionTranslatorRegistry : public IExceptionTranslatorRegistry { class ExceptionTranslatorRegistry : public IExceptionTranslatorRegistry {
public: public:
~ExceptionTranslatorRegistry(); ~ExceptionTranslatorRegistry() override;
void registerTranslator( const IExceptionTranslator* translator ); void registerTranslator( const IExceptionTranslator* translator );
std::string translateActiveException() const override; std::string translateActiveException() const override;
std::string tryTranslators() const; std::string tryTranslators() const;