From 4f24c4de26aa8f273bb208b7a0c1d1bd0fef2a73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Thu, 4 Mar 2021 20:19:04 -0300 Subject: [PATCH] Fact: Add missing const in member functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- src/FactSystem/Fact.cc | 2 +- src/FactSystem/Fact.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FactSystem/Fact.cc b/src/FactSystem/Fact.cc index 2c85bd3..08de95a 100644 --- a/src/FactSystem/Fact.cc +++ b/src/FactSystem/Fact.cc @@ -737,7 +737,7 @@ FactValueSliderListModel* Fact::valueSliderModel(void) return _valueSliderModel; } -void Fact::_checkForRebootMessaging(void) const +void Fact::_checkForRebootMessaging(void) { if(qgcApp()) { if (!qgcApp()->runningUnitTests()) { diff --git a/src/FactSystem/Fact.h b/src/FactSystem/Fact.h index 04fe497..7a6d1f3 100644 --- a/src/FactSystem/Fact.h +++ b/src/FactSystem/Fact.h @@ -191,7 +191,7 @@ signals: void _containerRawValueChanged(const QVariant& value); private slots: - void _checkForRebootMessaging(void) const; + void _checkForRebootMessaging(void); private: void _init(void);