compilable version

This commit is contained in:
Neeflix
2018-08-08 12:22:11 +02:00
parent 67e70405e0
commit 494021d910
6 changed files with 104 additions and 14 deletions

View File

@@ -4,6 +4,7 @@
* Created on: Jun 15, 2018
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert, Rafael Vinci, Dr. Franca Rupprecht
*/
#include <input/ErrorEvent.hpp>
#include "InputDriver.h"
namespace Input
@@ -29,7 +30,7 @@ void InputDriver::unregister_event_handler(IEventHandler* handler)
std::shared_ptr<Event> InputDriver::get_event(std::string name)
{
std::shared_ptr<Event> event;
std::shared_ptr<Event> event(new ErrorEvent());
try
{
event = this->events.at(name);