changed pointer stuff

This commit is contained in:
Neeflix
2018-08-08 11:16:19 +02:00
parent 0c08b940f3
commit 844847edca
12 changed files with 56 additions and 36 deletions

View File

@@ -31,7 +31,7 @@ class Detector : public IDetector
{
public:
Detector(std::unique_ptr<IInputGPIOInterface> input_gpio_interface, std::map<char, Event> events, std::shared_ptr<IEventNotifier> event_notifier);
Detector(std::unique_ptr<IInputGPIOInterface> input_gpio_interface, std::map<char, std::shared_ptr<Event>> events, std::shared_ptr<IEventNotifier> event_notifier);
~Detector();
private:
@@ -41,7 +41,7 @@ private:
private:
std::unique_ptr<IInputGPIOInterface> input_gpio_interface;
std::map<char, Event> events;
std::map<char, std::shared_ptr<Event>> events;
std::shared_ptr<IEventNotifier> event_notifier;