consting things

This commit is contained in:
Jonas Zeunert
2018-12-14 03:43:13 +01:00
parent 2b9981e521
commit 57ec8fda79
21 changed files with 58 additions and 59 deletions

View File

@@ -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)
{