Fix CppCheck in pqiindic.h

/libretroshare/src/pqi/pqiindic.h:39: warning:
Cppcheck(noExplicitConstructor): Class 'Indicator' has a constructor
with 1 argument that is not explicit.
This commit is contained in:
Phenom 2017-07-26 10:35:57 +02:00 committed by csoler
parent 225058a9dc
commit 87947b1f21

View File

@ -36,7 +36,7 @@
class Indicator class Indicator
{ {
public: public:
Indicator(uint16_t n = 1) explicit Indicator(uint16_t n = 1)
:num(n), changeFlags(n) {IndicateChanged();} :num(n), changeFlags(n) {IndicateChanged();}
void IndicateChanged() void IndicateChanged()
{ {