changed virtual to override

This commit is contained in:
Jonas Zeunert
2018-12-07 11:53:38 +01:00
parent 8fd5588d02
commit dc95c45d9b
15 changed files with 24 additions and 25 deletions

View File

@@ -23,7 +23,7 @@ EventHandler::EventHandler(std::shared_ptr<IInputDriver> input_driver) :
EventHandler::~EventHandler()
{
this->input_driver->unregister_event_handler(this);
this->input_driver = NULL;
this->input_driver = nullptr;
}
// This function is intended to be non pure, if it is called when the derived class doesn't exist anymore