From 0a0d0adc5f409d32341f93b08e2f841c2798126f Mon Sep 17 00:00:00 2001 From: legoboyvdlp R Date: Sat, 12 Jun 2021 14:17:07 +0100 Subject: [PATCH] De-yodify a true condition too --- src/Instrumentation/newnavradio.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Instrumentation/newnavradio.cxx b/src/Instrumentation/newnavradio.cxx index 9ea9e2bc7..2678ff8a0 100644 --- a/src/Instrumentation/newnavradio.cxx +++ b/src/Instrumentation/newnavradio.cxx @@ -144,7 +144,7 @@ public: virtual void search( double frequency, const SGGeod & aircraftPosition ); virtual double getRange_nm( const SGGeod & aircraftPosition ); virtual void display( NavIndicator & navIndicator ) = 0; - virtual bool valid() const { return NULL != _navRecord && true == _serviceable; } + virtual bool valid() const { return NULL != _navRecord && _serviceable; } virtual const std::string getIdent() const { return _ident; } protected: