compiling

This commit is contained in:
Jonas Zeunert
2018-12-07 16:15:54 +01:00
parent d25c030152
commit d32b651f72
5 changed files with 41 additions and 41 deletions

View File

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

View File

@@ -42,7 +42,7 @@ private:
void notify();
private:
const utility::IBlockingQueue<Event>* event_queue;
utility::IBlockingQueue<Event>* event_queue;
std::set<IEventHandler*> event_handlers;
bool is_running;