nearly compiling

This commit is contained in:
Jonas Zeunert
2018-12-04 17:58:23 +01:00
parent 0cb8113930
commit f03fe500db
12 changed files with 16 additions and 15 deletions

View File

@@ -17,7 +17,7 @@ namespace flippR_driver
namespace input
{
Detector::Detector(std::unique_ptr<utility::IInputGPIOInterface> input_gpio_interface, std::vector<std::shared_ptr<DistributingEvent>> events) :
Detector::Detector(std::unique_ptr<IInputGPIOInterface> input_gpio_interface, std::vector<std::shared_ptr<DistributingEvent>> events) :
input_gpio_interface(std::move(input_gpio_interface)), events(events), is_running(true)
{
this->detect_thread = std::thread(&Detector::detect, this);

View File

@@ -34,7 +34,7 @@ class Detector : public IDetector
{
public:
Detector(std::unique_ptr<utility::IInputGPIOInterface> input_gpio_interface, std::vector<std::shared_ptr<DistributingEvent>> events);
Detector(std::unique_ptr<IInputGPIOInterface> input_gpio_interface, std::vector<std::shared_ptr<DistributingEvent>> events);
~Detector();
private:
@@ -42,7 +42,7 @@ private:
void check_inputs();
private:
std::unique_ptr<utility::IInputGPIOInterface> input_gpio_interface;
std::unique_ptr<IInputGPIOInterface> input_gpio_interface;
std::vector<std::shared_ptr<DistributingEvent>> events;