diff options
author | Alexander Volkov <a.volkov@rusbitech.ru> | 2016-12-03 01:47:31 +0300 |
---|---|---|
committer | Alexander Volkov <a.volkov@rusbitech.ru> | 2017-11-14 07:04:57 +0000 |
commit | 5858916b27bd261eaa5c3869bc46557e18bd8e02 (patch) | |
tree | e37f84e81ce3beec6c38b25e54b5ab852b843edb /examples/sensors/grue/console_app/main.cpp | |
parent | e3b6a54a75482c5ddd91dab50a86629053c69a2e (diff) |
Add missing override and remove redundant virtual
Change-Id: I51c0fc424f44ae68c3c1c4cf6377e7701ee5a0dd
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'examples/sensors/grue/console_app/main.cpp')
-rw-r--r-- | examples/sensors/grue/console_app/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sensors/grue/console_app/main.cpp b/examples/sensors/grue/console_app/main.cpp index 6eb5d062..29a629b5 100644 --- a/examples/sensors/grue/console_app/main.cpp +++ b/examples/sensors/grue/console_app/main.cpp @@ -61,7 +61,7 @@ public: { } - bool filter(QSensorReading *reading) + bool filter(QSensorReading *reading) override { int percent = reading->property("chanceOfBeingEaten").value<int>(); if (percent == 0) { |