Browse Source

LinkConfiguration: Add missing const in member functions

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
QGC4.4
Patrick José Pereira 4 years ago committed by Don Gagne
parent
commit
9daac41a0c
  1. 6
      src/comm/LinkConfiguration.h

6
src/comm/LinkConfiguration.h

@ -61,15 +61,15 @@ public:
}; };
Q_ENUM(LinkType) Q_ENUM(LinkType)
bool isDynamic () { return _dynamic; } ///< Not persisted bool isDynamic () const{ return _dynamic; } ///< Not persisted
bool isAutoConnect () { return _autoConnect; } bool isAutoConnect () const{ return _autoConnect; }
/*! /*!
* *
* Is this a High Latency configuration? * Is this a High Latency configuration?
* @return True if this is an High Latency configuration (link with large delays). * @return True if this is an High Latency configuration (link with large delays).
*/ */
bool isHighLatency() { return _highLatency; } bool isHighLatency() const{ return _highLatency; }
/*! /*!
* Set if this is this a dynamic configuration. (decided at runtime) * Set if this is this a dynamic configuration. (decided at runtime)

Loading…
Cancel
Save