mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 16:39:29 -05:00
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:
parent
225058a9dc
commit
87947b1f21
@ -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()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user