mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 16:45:11 -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
|
||||
{
|
||||
public:
|
||||
Indicator(uint16_t n = 1)
|
||||
explicit Indicator(uint16_t n = 1)
|
||||
:num(n), changeFlags(n) {IndicateChanged();}
|
||||
void IndicateChanged()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue