Fix CppCheck in rstlvstring.h

/libretroshare/src/serialiser/rstlvstring.h:40: warning:
Cppcheck(noExplicitConstructor): Class 'RsTlvStringSet' has a
constructor with 1 argument that is not explicit.
This commit is contained in:
Phenom 2017-07-28 18:23:35 +02:00 committed by csoler
parent 889f23f9d8
commit fea9c0a851

View File

@ -37,7 +37,7 @@
class RsTlvStringSet: public RsTlvItem
{
public:
RsTlvStringSet(uint16_t type);
explicit RsTlvStringSet(uint16_t type);
virtual ~RsTlvStringSet() { return; }
virtual uint32_t TlvSize() const;
virtual void TlvClear();