mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-28 08:07:31 -04: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue