mirror of
https://github.com/oatpp/oatpp.git
synced 2024-11-21 03:14:51 +08:00
Add ErrorHandler virtual destructor
Virtual destructor added to the ErrorHandler since derived class destructor should be called when destroying an object via a pointer to the base type (ErrorHandler in this case).
This commit is contained in:
parent
0dee902a69
commit
284647320d
@ -41,6 +41,10 @@ public:
|
||||
*/
|
||||
typedef web::protocol::http::Headers Headers;
|
||||
public:
|
||||
/**
|
||||
* Virtual destructor since the class is ment to be derived from.
|
||||
* */
|
||||
virtual ~ErrorHandler() = default;
|
||||
|
||||
/**
|
||||
* Implement this method!
|
||||
|
Loading…
Reference in New Issue
Block a user