From c844f949397c428a403c073a19a5d1716c2f9d05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Mon, 1 Feb 2021 12:58:07 -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 08de95a..2c85bd3 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) +void Fact::_checkForRebootMessaging(void) const { if(qgcApp()) { if (!qgcApp()->runningUnitTests()) { diff --git a/src/FactSystem/Fact.h b/src/FactSystem/Fact.h index 7a6d1f3..04fe497 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); + void _checkForRebootMessaging(void) const; private: void _init(void);