Commit 381100b8 authored by Micha Mueller's avatar Micha Mueller
Browse files

Fix segfault

parent 605a3f3c
......@@ -19,8 +19,9 @@ public:
virtual ~SingleSensor() {}
void init(boost::asio::io_service& io) override {
SensorBase::initSensor(_cacheSize);
//first init SensorInterface to set _cacheSize
SensorInterface::init(io);
SensorBase::initSensor(_cacheSize);
}
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment