consting things
This commit is contained in:
@@ -34,7 +34,7 @@ Detector::~Detector()
|
||||
this->detect_thread.join();
|
||||
}
|
||||
|
||||
void Detector::detect()
|
||||
void Detector::detect() const
|
||||
{
|
||||
while(this->is_running)
|
||||
{
|
||||
@@ -42,7 +42,7 @@ void Detector::detect()
|
||||
}
|
||||
}
|
||||
|
||||
void Detector::check_inputs()
|
||||
void Detector::check_inputs() const
|
||||
{
|
||||
for(auto &event : events)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user