changed to boost optional instead of errorevent

This commit is contained in:
Jonas Zeunert
2018-12-07 14:34:10 +01:00
parent b4cc8b7194
commit dc0dfd732a
8 changed files with 19 additions and 44 deletions

View File

@@ -42,9 +42,9 @@ private:
void check_inputs();
private:
std::unique_ptr<IInputGPIOInterface> input_gpio_interface;
const std::unique_ptr<IInputGPIOInterface> input_gpio_interface;
std::vector<std::shared_ptr<DistributingEvent>> events;
const std::vector<std::shared_ptr<DistributingEvent>> events;
bool is_running;
std::thread detect_thread;